Skip to content
Commit fb40d7a8 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

x86/jump-label: Show where and what was wrong on errors



When modifying text sections for jump labels, a paranoid check is
performed. If the check fails, the system "bugs". But why it failed
is not shown.

The BUG_ON()s in the jump label update code is replaced with bug_at(ip).
This is a function that will show what pointer failed, and what was
at the location of the failure that made jump label panic.

Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 9c85f3bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment