diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-02-01 18:59:24 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-08-07 05:54:33 +0400 |
commit | fb40d7a8994a3cc7a1e1c1f3258ea8662a366916 (patch) | |
tree | a1d3664ba12dafc4029b6fc3aff2adf767a4fb83 /arch/arm/mach-omap2/am33xx-restart.c | |
parent | 9c85f3bdf400665eecf62658a9106501f6a77a13 (diff) | |
download | linux-fb40d7a8994a3cc7a1e1c1f3258ea8662a366916.tar.xz |
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 'arch/arm/mach-omap2/am33xx-restart.c')
0 files changed, 0 insertions, 0 deletions