From: Cliff Wickman Date: Thu, 29 Jan 2009 21:35:26 +0000 (-0600) Subject: x86: UV fix uv_flush_send_and_wait() X-Git-Tag: Ubuntu-5.2.0-15.16~29251^2~247^2~48^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2749ebe320ff9f77548d10fcc0a3464ac21c8e58;p=mirror_ubuntu-eoan-kernel.git 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 Signed-off-by: Tejun Heo --- 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; } /*