diff options
author | Andi Kleen <ak@linux.intel.com> | 2022-02-18 19:16:33 -0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2022-02-18 19:16:33 -0800 |
commit | e3a498b1f0eadc0a91ae725fd924588fd660a9af (patch) | |
tree | 2438f335ee602bbb425d821fdf74113902d195c6 | |
parent | a06b63a434e176a8ece9d057b89c4bd08a3f32c7 (diff) | |
download | linux-misc-lto-5.17-1-wip.tar.gz |
entry: Make irqentry_exit_cond_resched __visiblelto-5.17-1-wip
irqentry_exit_cond_resched can be referrenced from assembler.
Make it visible for gcc LTO to avoid missing symbols.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | kernel/entry/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/entry/common.c b/kernel/entry/common.c index bad713684c2e3..118b1fbc624ae 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -380,7 +380,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs) return ret; } -void irqentry_exit_cond_resched(void) +__visible void irqentry_exit_cond_resched(void) { if (!preempt_count()) { /* Sanity check RCU and thread stack */ |