mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[POWERPC] powermac: Support G5 CPU hotplug
This allows "hotplugging" of CPUs on G5 machines. CPUs that are disabled are put into an idle loop with the decrementer frequency set to minimum. To wake them up again we kick them just like when bringing them up. To stop those CPUs from messing with any global state we stop them from entering the timer interrupt. Signed-off-by: Johannes Berg <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
ac18c673e7
commit
d9333afd6a
4 changed files with 82 additions and 4 deletions
|
|
@ -248,6 +248,7 @@ struct machdep_calls {
|
|||
};
|
||||
|
||||
extern void power4_idle(void);
|
||||
extern void power4_cpu_offline_powersave(void);
|
||||
extern void ppc6xx_idle(void);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue