diff options
| author | Peter Zijlstra <[email protected]> | 2020-06-16 11:28:36 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-06-25 11:45:40 +0000 |
| commit | 145a773aef83181d47ebab21bb33c89233aadb1e (patch) | |
| tree | 4e543c91bc0dfa0e07b2593d24295ff609257fbd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | x86/entry: Increase entry_stack size to a full page (diff) | |
| download | kernel-145a773aef83181d47ebab21bb33c89233aadb1e.tar.gz kernel-145a773aef83181d47ebab21bb33c89233aadb1e.zip | |
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) <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
