diff options
author | Sven Schnelle <[email protected]> | 2022-03-30 10:43:28 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-04-05 09:59:36 +0200 |
commit | 0a70045ed8516dfcff4b5728557e1ef3fd017c53 (patch) | |
tree | ec154e624d9888ad2f43252c6263fa87bcd38a4b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 386ef214c3c6ab111d05e1790e79475363abaa05 (diff) |
entry: Fix compile error in dynamic_irqentry_exit_cond_resched()
kernel/entry/common.c: In function ‘dynamic_irqentry_exit_cond_resched’:
kernel/entry/common.c:409:14: error: implicit declaration of function ‘static_key_unlikely’; did you mean ‘static_key_enable’? [-Werror=implicit-function-declaration]
409 | if (!static_key_unlikely(&sk_dynamic_irqentry_exit_cond_resched))
| ^~~~~~~~~~~~~~~~~~~
| static_key_enable
static_key_unlikely() should be static_branch_unlikely().
Fixes: 99cf983cc8bca ("sched/preempt: Add PREEMPT_DYNAMIC using static keys")
Signed-off-by: Sven Schnelle <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions