diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-02-09 11:30:03 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-02-10 16:44:39 +0300 |
commit | c8cc7e853192d520ab6a5957f5081034103587ae (patch) | |
tree | ae0dc1b3bf4c4a6e50b92664ed485db143b6ce52 /lib/mpi/mpi-cmp.c | |
parent | 7f82e631d236cafd28518b998c6d4d8dc2ef68f6 (diff) | |
download | linux-c8cc7e853192d520ab6a5957f5081034103587ae.tar.xz |
lockdep: Noinstr annotate warn_bogus_irq_restore()
vmlinux.o: warning: objtool: lock_is_held_type()+0x107: call to warn_bogus_irq_restore() leaves .noinstr.text section
As per the general rule that WARNs are allowed to violate noinstr to
get out, annotate it away.
Fixes: 997acaf6b4b5 ("lockdep: report broken irq restoration")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lkml.kernel.org/r/YCKyYg53mMp4E7YI@hirez.programming.kicks-ass.net
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions