From: David S. Miller Date: Wed, 22 Feb 2006 00:55:23 +0000 (-0800) Subject: [SPARC64]: Use sun4v_cpu_idle() in cpu_idle() on SUN4V. X-Git-Tag: v2.6.17-rc1~1184^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c91d576e9ea41c963e7f28643219bda73b0ddc;p=pandora-kernel.git [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 --- Reading git-diff-tree failed