summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst2012-05-18 03:06:15 -0500
committerJon Medhurst2013-12-18 13:03:26 -0600
commit33bef9ed7feca41e7cd6de8bf5d80052669278d3 (patch)
tree0ab6a949997668cae577e6f230c0a6fe8ede30f7
parent1de4a819a058e09019bffbd51b26dffc13d81ee1 (diff)
downloadarm-ds5-gator-33bef9ed7feca41e7cd6de8bf5d80052669278d3.tar.gz
arm-ds5-gator-33bef9ed7feca41e7cd6de8bf5d80052669278d3.tar.xz
arm-ds5-gator-33bef9ed7feca41e7cd6de8bf5d80052669278d3.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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/gator_main.c b/driver/gator_main.c
index 9773ae2..19f51c7 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