mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
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>
This commit is contained in:
parent
aaf37a3203
commit
99e95119c4
|
|
@ -50,9 +50,9 @@ static unsigned long gator_protocol_version = 14;
|
|||
|
||||
#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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user