diff options
author | David S. Miller | 2006-02-22 01:55:23 +0100 |
---|---|---|
committer | David S. Miller | 2006-03-20 10:13:54 +0100 |
commit | 30c91d576e9ea41c963e7f28643219bda73b0ddc (patch) | |
tree | 1aa37a82f44084b5fd854bf010ac224d2d660079 /include/asm-sparc64 | |
parent | [SPARC64] math-emu: Delete debugging printk left by previous commit. (diff) | |
download | kernel-qcow2-linux-30c91d576e9ea41c963e7f28643219bda73b0ddc.tar.gz kernel-qcow2-linux-30c91d576e9ea41c963e7f28643219bda73b0ddc.tar.xz kernel-qcow2-linux-30c91d576e9ea41c963e7f28643219bda73b0ddc.zip |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
0 files changed, 0 insertions, 0 deletions