From: Corey Minyard Date: Mon, 8 May 2006 13:17:22 +0000 (+0200) Subject: [PATCH] x86_64: fix die_lock nesting X-Git-Tag: v2.6.17-rc4~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc60a4c8e71c4bcf67e83fac6c0cabd0ff19bfe;p=pandora-kernel.git [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 Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed