]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] 4xx: Add idle wait support for 44x platforms
authorJerone Young <jyoung5@us.ibm.com>
Fri, 11 Apr 2008 19:03:33 +0000 (05:03 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 16 Apr 2008 12:32:06 +0000 (07:32 -0500)
commite92716f2aa68cdfbf6ec24d6f31f08b072e1a246
tree9bd9d9cfa8dd788ca10564845601056c7d3eb2ca
parent478d5dcb620abae146edd542b4e76cea47855bc9
[POWERPC] 4xx: Add idle wait support for 44x platforms

This changes the cpu_idle loop for 44x platforms to utilize the Wait Enable
feature of the CPU.  This helps virtulization solutions know when the guest
Linux kernel is in an idle state.

A command line option called "idle" is also added to allow people to change
the idle loop back to the original variation.  This is done by setting
"idle=spin" on the kernel command line.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/platforms/44x/Makefile
arch/powerpc/platforms/44x/idle.c [new file with mode: 0644]