diff options
author | Corey Minyard <minyard@acm.org> | 2006-05-08 15:17:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-08 09:34:56 -0700 |
commit | cdc60a4c8e71c4bcf67e83fac6c0cabd0ff19bfe (patch) | |
tree | 204e3ab2ccaa9828d0ea71b43891729b216db7bf /include/asm-xtensa/sockios.h | |
parent | 5192d84e4c32cd335fd572e5ff0712041f45f7e7 (diff) |
[PATCH] x86_64: fix die_lock nesting
I noticed this when poking around in this area.
The oops_begin() function in x86_64 would only conditionally claim
the die_lock if the call is nested, but oops_end() would always
release the spinlock. This patch adds a nest count for the die lock
so that the release of the lock is only done on the final oops_end().
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa/sockios.h')
0 files changed, 0 insertions, 0 deletions