diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-22 02:02:39 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-22 02:02:39 -0400 |
commit | 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 (patch) | |
tree | 25660acd2425de5236a1eff7a25dc931e6f86492 /include/asm-ppc64 | |
parent | b6ba92819dc1304a4e5a0bf06b297c657b58168a (diff) |
powerpc: Merge in 64-bit powermac support.
This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to
arch/powerpc/platforms/powermac/*.c and makes various minor tweaks
elsewhere. On the powermac we now initialize ppc_md by copying
the whole pmac_md structure into it, which required some changes in
the ordering of initializations of individual fields of it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/system.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/udbg.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc64/system.h b/include/asm-ppc64/system.h index d1e00933354c..2e17ef7dbeb4 100644 --- a/include/asm-ppc64/system.h +++ b/include/asm-ppc64/system.h | |||
@@ -148,6 +148,8 @@ struct thread_struct; | |||
148 | extern struct task_struct * _switch(struct thread_struct *prev, | 148 | extern struct task_struct * _switch(struct thread_struct *prev, |
149 | struct thread_struct *next); | 149 | struct thread_struct *next); |
150 | 150 | ||
151 | extern int powersave_nap; /* set if nap mode can be used in idle loop */ | ||
152 | |||
151 | /* | 153 | /* |
152 | * Atomic exchange | 154 | * Atomic exchange |
153 | * | 155 | * |
diff --git a/include/asm-ppc64/udbg.h b/include/asm-ppc64/udbg.h index c786604aef02..8192fb8541cc 100644 --- a/include/asm-ppc64/udbg.h +++ b/include/asm-ppc64/udbg.h | |||
@@ -28,4 +28,7 @@ extern unsigned long udbg_ifdebug(unsigned long flags); | |||
28 | extern void __init ppcdbg_initialize(void); | 28 | extern void __init ppcdbg_initialize(void); |
29 | 29 | ||
30 | extern void udbg_init_uart(void __iomem *comport, unsigned int speed); | 30 | extern void udbg_init_uart(void __iomem *comport, unsigned int speed); |
31 | |||
32 | struct device_node; | ||
33 | extern void udbg_init_scc(struct device_node *np); | ||
31 | #endif | 34 | #endif |