From: Cliff Wickman Date: Thu, 29 Jan 2009 21:35:26 +0000 (-0600) Subject: x86: UV fix uv_flush_send_and_wait() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2749ebe320ff9f77548d10fcc0a3464ac21c8e58;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 89fce1b6d01..f4b2f27d19b 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; } /*