summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst2012-05-18 03:06:15 -0500
committerJon Medhurst2014-04-09 07:05:51 -0500
commite0368a544a576b2cedd65e87324716060dd24efa (patch)
tree779bb958e4eac7189e7ef36a3034753d11c7839c
parent0f66ada81c8f90a7b2e4f7570032e33aaedfb32f (diff)
downloadarm-ds5-gator-e0368a544a576b2cedd65e87324716060dd24efa.tar.gz
arm-ds5-gator-e0368a544a576b2cedd65e87324716060dd24efa.tar.xz
arm-ds5-gator-e0368a544a576b2cedd65e87324716060dd24efa.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 e67f7c5..4a1f056 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