diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-18 21:54:30 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-18 21:54:30 -0800 |
| commit | af09f9510d7572985d0b0586ad051dcb06e9626d (patch) | |
| tree | ce729f207dd70b841267708e89a0bc50e63a9bd8 | |
| parent | f9fe0ca827427450c585de2b78e4735ee473f5b6 (diff) | |
| parent | ae74d936db357bb049f04ba24623d9eafc92ba0f (diff) | |
Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
| -rw-r--r-- | arch/x86_64/kernel/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/smp.c b/arch/x86_64/kernel/smp.c index 5284825dbf3f..4b70f27b8e69 100644 --- a/arch/x86_64/kernel/smp.c +++ b/arch/x86_64/kernel/smp.c @@ -305,13 +305,13 @@ static void __smp_call_function (void (*func) (void *info), void *info, /* Send a message to all other CPUs and wait for them to respond */ send_IPI_allbutself(CALL_FUNCTION_VECTOR); - if (!wait) - return; - /* Wait for response */ while (atomic_read(&data.started) != cpus) cpu_relax(); + if (!wait) + return; + while (atomic_read(&data.finished) != cpus) cpu_relax(); } |
