diff options
author | Jon Medhurst | 2012-05-18 03:06:15 -0500 |
---|---|---|
committer | Jon Medhurst | 2013-10-10 10:36:37 -0500 |
commit | 059ea10130a6ed13a33a56b72a10e3ae3657e03d (patch) | |
tree | ad07ab75dd030d15352ecad2e3f6897aadeed377 | |
parent | 689bdf8057462a77535c1b6396410e264ae11e6b (diff) | |
download | arm-ds5-gator-059ea10130a6ed13a33a56b72a10e3ae3657e03d.tar.gz arm-ds5-gator-059ea10130a6ed13a33a56b72a10e3ae3657e03d.tar.xz arm-ds5-gator-059ea10130a6ed13a33a56b72a10e3ae3657e03d.zip |
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-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 7dd70d9..e0db655 100644 --- a/driver/gator_main.c +++ b/driver/gator_main.c | |||
@@ -50,9 +50,9 @@ static unsigned long gator_protocol_version = 16; | |||
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 | ||