diff options
author | Andi Kleen <ak@suse.de> | 2006-11-14 16:57:46 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-11-14 16:57:46 +0100 |
commit | 9446868b5383eb87f76b2d4389dea4bb968a6657 (patch) | |
tree | d253d9a0ae99c77f43ca271019fcbdbfd349b665 /include/asm-x86_64/stat.h | |
parent | 8c131af1db510793f87dc43edbc8950a35370df3 (diff) | |
download | linux-9446868b5383eb87f76b2d4389dea4bb968a6657.tar.gz linux-9446868b5383eb87f76b2d4389dea4bb968a6657.tar.bz2 linux-9446868b5383eb87f76b2d4389dea4bb968a6657.zip |
[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 <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/stat.h')
0 files changed, 0 insertions, 0 deletions