commit | fb40d7a8994a3cc7a1e1c1f3258ea8662a366916 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed Feb 01 09:59:24 2012 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Aug 06 21:54:33 2013 -0400 |
tree | a1d3664ba12dafc4029b6fc3aff2adf767a4fb83 | |
parent | 9c85f3bdf400665eecf62658a9106501f6a77a13 [diff] |
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>