aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2008-10-28 10:14:58 +0000
committerIngo Molnar <[email protected]>2008-10-28 10:19:07 +0000
commit6afe40b4dace385d7ba2faf24b352f066f3b71bf (patch)
tree017e672e83a1257b084036c2e79adef95a81b9c3 /security/selinux/hooks.c
parentlockdep: minor fix for debug_show_all_locks() (diff)
downloadkernel-6afe40b4dace385d7ba2faf24b352f066f3b71bf.tar.gz
kernel-6afe40b4dace385d7ba2faf24b352f066f3b71bf.zip
lockdep: fix irqs on/off ip tracing
Impact: fix lockdep lock-api-caller output when irqsoff tracing is enabled 81d68a96 "ftrace: trace irq disabled critical timings" added wrappers around trace_hardirqs_on/off_caller. However these functions use __builtin_return_address(0) to figure out which function actually disabled or enabled irqs. The result is that we save the ips of trace_hardirqs_on/off instead of the real caller. Not very helpful. However since the patch from Steven the ip already gets passed. So use that and get rid of __builtin_return_address(0) in these two functions. Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions