diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-27 15:03:03 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 15:03:03 +1100 |
commit | a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06 (patch) | |
tree | a28527b65237b3067553a993f5ad06dfb24df044 /include/asm-ppc | |
parent | 55aab8cd3a498201b769a19de861c77516bdfd45 (diff) | |
download | kernel_samsung_smdk4412-a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06.zip kernel_samsung_smdk4412-a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06.tar.gz kernel_samsung_smdk4412-a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06.tar.bz2 |
powerpc: Unify the 32 and 64 bit idle loops
This unifies the 32-bit (ARCH=ppc and ARCH=powerpc) and 64-bit idle
loops. It brings over the concept of having a ppc_md.power_save
function from 32-bit to ARCH=powerpc, which lets us get rid of
native_idle(). With this we will also be able to simplify the idle
handling for pSeries and cell.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/machdep.h b/include/asm-ppc/machdep.h index a3e8a45..ebbef64e 100644 --- a/include/asm-ppc/machdep.h +++ b/include/asm-ppc/machdep.h @@ -44,7 +44,7 @@ struct machdep_calls { void (*power_off)(void); void (*halt)(void); - void (*idle)(void); + void (*idle_loop)(void); void (*power_save)(void); long (*time_init)(void); /* Optional, may be NULL */ |