summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tlb_uv.c
diff options
context:
space:
mode:
authorCliff Wickman <cpw@sgi.com>2009-01-29 15:35:26 -0600
committerTejun Heo <tj@kernel.org>2009-01-31 14:23:37 +0900
commit2749ebe320ff9f77548d10fcc0a3464ac21c8e58 (patch)
tree7e98443ca362b3270eb958c7213a54c6bad203bd /arch/x86/kernel/tlb_uv.c
parent3ac6cffea4aa18007a454a7442da2855882f403d (diff)
downloadblackbird-op-linux-2749ebe320ff9f77548d10fcc0a3464ac21c8e58.tar.gz
blackbird-op-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.c2
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;
}
/*
OpenPOWER on IntegriCloud