diff options
-rw-r--r-- | driver/gator_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/gator_main.c b/driver/gator_main.c index e67f7c5..4a1f056 100644 --- a/driver/gator_main.c +++ b/driver/gator_main.c | |||
@@ -55,9 +55,9 @@ static unsigned long gator_protocol_version = PROTOCOL_VERSION; | |||
55 | 55 | ||
56 | #if (GATOR_PERF_SUPPORT) && (!(GATOR_PERF_PMU_SUPPORT)) | 56 | #if (GATOR_PERF_SUPPORT) && (!(GATOR_PERF_PMU_SUPPORT)) |
57 | #ifndef CONFIG_PERF_EVENTS | 57 | #ifndef CONFIG_PERF_EVENTS |
58 | #error gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters | 58 | #warning gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters |
59 | #elif !defined CONFIG_HW_PERF_EVENTS | 59 | #elif !defined CONFIG_HW_PERF_EVENTS |
60 | #error gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters | 60 | #warning gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters |
61 | #endif | 61 | #endif |
62 | #endif | 62 | #endif |
63 | 63 | ||