From: Andi Kleen Date: Tue, 14 Nov 2006 15:57:46 +0000 (+0100) Subject: [PATCH] x86-64: Fix race in exit_idle X-Git-Tag: v2.6.19-rc6~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9446868b5383eb87f76b2d4389dea4bb968a6657;p=pandora-kernel.git [PATCH] x86-64: Fix race in exit_idle When another interrupt happens in exit_idle the exit idle notifier could be called an incorrect number of times. Add a test_and_clear_bit_pda and use it handle the bit atomically against interrupts to avoid this. Pointed out by Stephane Eranian Signed-off-by: Andi Kleen --- Reading git-diff-tree failed