diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-06-16 13:28:36 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-06-25 13:45:40 +0200 |
commit | 145a773aef83181d47ebab21bb33c89233aadb1e (patch) | |
tree | 4e543c91bc0dfa0e07b2593d24295ff609257fbd /drivers/s390/cio/qdio.h | |
parent | c7aadc09321d8f9a1d3bd1e6d8a47222ecddf6c5 (diff) | |
download | linux-145a773aef83181d47ebab21bb33c89233aadb1e.tar.bz2 |
x86/entry: Fix #UD vs WARN more
vmlinux.o: warning: objtool: exc_invalid_op()+0x47: call to probe_kernel_read() leaves .noinstr.text section
Since we use UD2 as a short-cut for 'CALL __WARN', treat it as such.
Have the bare exception handler do the report_bug() thing.
Fixes: 15a416e8aaa7 ("x86/entry: Treat BUG/WARN as NMI-like entries")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200622114713.GE577403@hirez.programming.kicks-ass.net
Diffstat (limited to 'drivers/s390/cio/qdio.h')
0 files changed, 0 insertions, 0 deletions