diff --git a/ras-events.c b/ras-events.c index b6e80b2..c60e976 100644 --- a/ras-events.c +++ b/ras-events.c @@ -55,7 +55,9 @@ char *choices_disable; static const struct event_trigger event_triggers[] = { { "mc_event", &mc_event_trigger_setup }, +#ifdef HAVE_MEMORY_FAILURE { "memory_failure_event", &mem_fail_event_trigger_setup }, +#endif }; static int get_debugfs_dir(char *tracing_dir, size_t len)