diff options
author | Jon Medhurst <tixy@linaro.org> | 2012-05-18 09:06:15 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-04-15 10:07:08 +0100 |
commit | 6218cb8bcef0726a7f624a7093b5cd2c847a786e (patch) | |
tree | 3e7a0bf0330fb1d754236bff3b55c0ebbcd3f19e | |
parent | 9087660b58214f073c602f3d618c1d6654082dea (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 3e62b5968027..88650f60bd5f 100644 --- a/drivers/gator/gator_main.c +++ b/drivers/gator/gator_main.c @@ -50,9 +50,9 @@ static unsigned long gator_protocol_version = 13; #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 |