summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_getparam.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-06-16 13:28:36 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-25 13:45:40 +0200
commit145a773aef83181d47ebab21bb33c89233aadb1e (patch)
tree4e543c91bc0dfa0e07b2593d24295ff609257fbd /drivers/gpu/drm/i915/i915_getparam.c
parentc7aadc09321d8f9a1d3bd1e6d8a47222ecddf6c5 (diff)
downloadlinux-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/gpu/drm/i915/i915_getparam.c')
0 files changed, 0 insertions, 0 deletions