summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst2012-05-18 03:06:15 -0500
committerJon Medhurst2013-04-03 06:55:51 -0500
commit324b74b753a9db223bf2c4e8777c91335bfefd82 (patch)
tree3314d629762c1bf7a90b5852d1cb1310d260dbb0
parent7ef1b3596e3625d6335fd03904dfdcc75f365919 (diff)
downloadarm-ds5-gator-324b74b753a9db223bf2c4e8777c91335bfefd82.tar.gz
arm-ds5-gator-324b74b753a9db223bf2c4e8777c91335bfefd82.tar.xz
arm-ds5-gator-324b74b753a9db223bf2c4e8777c91335bfefd82.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 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