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

[SPARC64]: Use sun4v_cpu_idle() in cpu_idle() on SUN4V.



We have to turn off the "polling nrflag" bit when we sleep
the cpu like this, so that we'll get a cross-cpu interrupt
to wake the processor up from the yield.

We also have to disable PSTATE_IE in %pstate around the yield
call and recheck need_resched() in order to avoid any races.

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