summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst2012-05-18 03:06:15 -0500
committerJon Medhurst2013-06-11 03:49:08 -0500
commitceb3749bf45a300e5a8d11da6ab3148e5ab41850 (patch)
treea1251728de0384bdf6da277503c115eb15cbb51f
parent1b621a4c70954bba19f77922a177146dff21e6f1 (diff)
downloadarm-ds5-gator-ceb3749bf45a300e5a8d11da6ab3148e5ab41850.tar.gz
arm-ds5-gator-ceb3749bf45a300e5a8d11da6ab3148e5ab41850.tar.xz
arm-ds5-gator-ceb3749bf45a300e5a8d11da6ab3148e5ab41850.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 46fe31d..5eab034 100644
--- a/driver/gator_main.c
+++ b/driver/gator_main.c
@@ -50,9 +50,9 @@ static unsigned long gator_protocol_version = 14;
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