diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-04-16 15:24:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:24:18 -0700 |
commit | 7a648b9ec09f32606fe0f27fb9d095311cf968ca (patch) | |
tree | 7bab0ea91f5af84f6fedf0422d10194308c851b2 /include | |
parent | 6c26e03b2db4b66d79bfb774628c1fc9b458b943 (diff) | |
download | op-kernel-dev-7a648b9ec09f32606fe0f27fb9d095311cf968ca.zip op-kernel-dev-7a648b9ec09f32606fe0f27fb9d095311cf968ca.tar.gz |
[PATCH] ppc32: Fix cpufreq problems
This patch updates the PowerMac cpufreq driver. It depends on the addition
of the suspend() method (my previous patch) and on the new flag I defined
to silence some warnings that are normal for us.
It fixes various issues related to cpufreq on pmac, including some crashes
on some models when sleeping the machine while in low speed, proper voltage
control on some newer machines, and adds voltage control on 750FX based G3
laptops.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/open_pic.h | 1 | ||||
-rw-r--r-- | include/asm-ppc/reg.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/open_pic.h b/include/asm-ppc/open_pic.h index 58545e4..dbe8533 100644 --- a/include/asm-ppc/open_pic.h +++ b/include/asm-ppc/open_pic.h @@ -56,6 +56,7 @@ extern void smp_openpic_message_pass(int target, int msg, unsigned long data, int wait); extern void openpic_set_k2_cascade(int irq); extern void openpic_set_priority(u_int pri); +extern u_int openpic_get_priority(void); extern inline int openpic_to_irq(int irq) { diff --git a/include/asm-ppc/reg.h b/include/asm-ppc/reg.h index 3372dee..c418aab 100644 --- a/include/asm-ppc/reg.h +++ b/include/asm-ppc/reg.h @@ -181,6 +181,7 @@ #define HID1_PC3 (1<<13) /* 7450 PLL_CFG[3] */ #define HID1_SYNCBE (1<<11) /* 7450 ABE for sync, eieio */ #define HID1_ABE (1<<10) /* 7450 Address Broadcast Enable */ +#define HID1_PS (1<<16) /* 750FX PLL selection */ #define SPRN_HID2 0x3F8 /* Hardware Implementation Register 2 */ #define SPRN_IABR 0x3F2 /* Instruction Address Breakpoint Register */ #define SPRN_HID4 0x3F4 /* 970 HID4 */ |