diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-10-11 20:11:12 (GMT) |
---|---|---|
committer | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-10-11 20:11:12 (GMT) |
commit | 10cd706d180b62a61aace5b440247c8785026ac1 (patch) | |
tree | 4bc544761719fd10ecfa977e6f4bfd8f1249d8b9 /arch/x86/lib | |
parent | c7e872e7da5514d014707a407ea562d197cc0136 (diff) | |
download | linux-fsl-qoriq-10cd706d180b62a61aace5b440247c8785026ac1.tar.xz |
lockdep: x86_64: connect the sysexit hook
Run the lockdep_sys_exit hook after all other C code on the syscall
return path.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/thunk_64.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S index 55e586d..6ea73f3 100644 --- a/arch/x86/lib/thunk_64.S +++ b/arch/x86/lib/thunk_64.S @@ -50,6 +50,10 @@ thunk trace_hardirqs_on_thunk,trace_hardirqs_on thunk trace_hardirqs_off_thunk,trace_hardirqs_off #endif + +#ifdef CONFIG_DEBUG_LOCK_ALLOC + thunk lockdep_sys_exit_thunk,lockdep_sys_exit +#endif /* SAVE_ARGS below is used only for the .cfi directives it contains. */ CFI_STARTPROC |