diff options
author | Steven Rostedt | 2012-02-01 15:59:24 +0100 |
---|---|---|
committer | Steven Rostedt | 2013-08-07 03:54:33 +0200 |
commit | fb40d7a8994a3cc7a1e1c1f3258ea8662a366916 (patch) | |
tree | a1d3664ba12dafc4029b6fc3aff2adf767a4fb83 /drivers/char/ppdev.c | |
parent | x86/jump-label: Add safety checks to jump label conversions (diff) | |
download | kernel-qcow2-linux-fb40d7a8994a3cc7a1e1c1f3258ea8662a366916.tar.gz kernel-qcow2-linux-fb40d7a8994a3cc7a1e1c1f3258ea8662a366916.tar.xz kernel-qcow2-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 'drivers/char/ppdev.c')
0 files changed, 0 insertions, 0 deletions