diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-01-06 15:36:22 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-01-12 21:10:59 +0100 |
commit | 0afda3a888dccf12557b41ef42eee942327d122b (patch) | |
tree | a8ec61bd01d73b207dc9e9c8ab7d5f12fa79b405 /mm/sparse-vmemmap.c | |
parent | x86/sev: Fix nonistr violation (diff) | |
download | linux-0afda3a888dccf12557b41ef42eee942327d122b.tar.xz linux-0afda3a888dccf12557b41ef42eee942327d122b.zip |
locking/lockdep: Cure noinstr fail
When the compiler doesn't feel like inlining, it causes a noinstr
fail:
vmlinux.o: warning: objtool: lock_is_held_type()+0xb: call to lockdep_enabled() leaves .noinstr.text section
Fixes: 4d004099a668 ("lockdep: Fix lockdep recursion")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210106144017.592595176@infradead.org
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions