diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-02-01 09:59:24 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-08-06 21:54:33 -0400 |
commit | fb40d7a8994a3cc7a1e1c1f3258ea8662a366916 (patch) | |
tree | a1d3664ba12dafc4029b6fc3aff2adf767a4fb83 /security | |
parent | 9c85f3bdf400665eecf62658a9106501f6a77a13 (diff) | |
download | blackbird-obmc-linux-fb40d7a8994a3cc7a1e1c1f3258ea8662a366916.tar.gz blackbird-obmc-linux-fb40d7a8994a3cc7a1e1c1f3258ea8662a366916.zip |
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: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions