diff options
author | Cliff Wickman <cpw@sgi.com> | 2009-01-29 22:35:26 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-31 06:23:37 +0100 |
commit | 2749ebe320ff9f77548d10fcc0a3464ac21c8e58 (patch) | |
tree | 7e98443ca362b3270eb958c7213a54c6bad203bd /arch/x86/kernel/tlb_uv.c | |
parent | linker script: use separate simpler definition for PERCPU() (diff) | |
download | linux-2749ebe320ff9f77548d10fcc0a3464ac21c8e58.tar.xz linux-2749ebe320ff9f77548d10fcc0a3464ac21c8e58.zip |
x86: UV fix uv_flush_send_and_wait()
Impact: fix possible tlb mis-flushing on UV
uv_flush_send_and_wait() should return a pointer if the broadcast
remote tlb shootdown requests fail. That causes the conventional IPI
method of shootdown to be used.
Signed-off-by: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/kernel/tlb_uv.c')
-rw-r--r-- | arch/x86/kernel/tlb_uv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/tlb_uv.c b/arch/x86/kernel/tlb_uv.c index 89fce1b6d01f..f4b2f27d19b9 100644 --- a/arch/x86/kernel/tlb_uv.c +++ b/arch/x86/kernel/tlb_uv.c @@ -259,7 +259,7 @@ const struct cpumask *uv_flush_send_and_wait(int cpu, int this_blade, * the cpu's, all of which are still in the mask. */ __get_cpu_var(ptcstats).ptc_i++; - return 0; + return flush_mask; } /* |