summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 0f66ada)
raw | patch | inline | side by side (from parent 1: 0f66ada)
author | Jon Medhurst <tixy@linaro.org> | |
Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100) | ||
committer | Jon Medhurst <tixy@linaro.org> | |
Wed, 9 Apr 2014 12:05:51 +0000 (13:05 +0100) |
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>
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
driver/gator_main.c | patch | blob | history |
diff --git a/driver/gator_main.c b/driver/gator_main.c
index e67f7c5cc61d02553bcf63d476b19e91fd6320f8..4a1f0566fe1f97f0c9faadf006193fed945c1152 100644 (file)
--- a/driver/gator_main.c
+++ b/driver/gator_main.c
#if (GATOR_PERF_SUPPORT) && (!(GATOR_PERF_PMU_SUPPORT))
#ifndef CONFIG_PERF_EVENTS
-#error gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters
+#warning gator requires the kernel to have CONFIG_PERF_EVENTS defined to support pmu hardware counters
#elif !defined CONFIG_HW_PERF_EVENTS
-#error gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters
+#warning gator requires the kernel to have CONFIG_HW_PERF_EVENTS defined to support pmu hardware counters
#endif
#endif