Skip to content
Commit c9f2946f authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Disable preemption during flush_tlb_pending().



A context switch will force a call to flush_tlb_pending() (via
switch_to()), so if we test tlb_nr to be non-zero, then sleep, it
would become zero and later back at the original context we'll pass
zero down into the TLB flushing code which should never see a nr
argument of zero.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1241140f
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