Commit 2749ebe3 authored by Cliff Wickman's avatar Cliff Wickman Committed by Tejun Heo

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: default avatarCliff Wickman <cpw@sgi.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 3ac6cffe
...@@ -259,7 +259,7 @@ const struct cpumask *uv_flush_send_and_wait(int cpu, int this_blade, ...@@ -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. * the cpu's, all of which are still in the mask.
*/ */
__get_cpu_var(ptcstats).ptc_i++; __get_cpu_var(ptcstats).ptc_i++;
return 0; return flush_mask;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment