diff options
author | Jon Medhurst <tixy@linaro.org> | 2012-05-18 09:06:15 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2012-10-25 16:23:22 +0100 |
commit | f9e26fba07fca0f7e0f9d7c5ff9ad77708651d13 (patch) | |
tree | 0a46f17f1e111f758b6396b715e90997c213a65c | |
parent | 38d86aaab55de29ce0a6fcdba805893b08f7bb3f (diff) |
gator: 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-- | drivers/gator/gator_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gator/gator_main.c b/drivers/gator/gator_main.c index 309c6c23ad5..a2d8ef02ce9 100644 --- a/drivers/gator/gator_main.c +++ b/drivers/gator/gator_main.c @@ -48,9 +48,9 @@ static unsigned long gator_protocol_version = 11; #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 |