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 3e62b59..88650f6 100644 --- a/driver/gator_main.c +++ b/driver/gator_main.c | |||
@@ -50,9 +50,9 @@ static unsigned long gator_protocol_version = 13; | |||
50 | 50 | ||
51 | #if (GATOR_PERF_SUPPORT) && (!(GATOR_PERF_PMU_SUPPORT)) | 51 | #if (GATOR_PERF_SUPPORT) && (!(GATOR_PERF_PMU_SUPPORT)) |
52 | #ifndef CONFIG_PERF_EVENTS | 52 | #ifndef CONFIG_PERF_EVENTS |
53 | #error gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters | 53 | #warning gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters |
54 | #elif !defined CONFIG_HW_PERF_EVENTS | 54 | #elif !defined CONFIG_HW_PERF_EVENTS |
55 | #error gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters | 55 | #warning gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters |
56 | #endif | 56 | #endif |
57 | #endif | 57 | #endif |
58 | 58 | ||