diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:08:12 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:08:12 -0400 |
commit | fd582ec88eb8d2d907876603e4ecebe6eab330d9 (patch) | |
tree | bafacc1916098001051b8235722daa6b9b52e63a /include/asm-ppc | |
parent | 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b (diff) |
ppc: Various minor compile fixes
This fixes up a variety of minor problems in compiling with ARCH=ppc
arising from using the merged versions of various header files.
A lot of the changes are just adding #include <asm/machdep.h> to
files that use ppc_md or smp_ops_t.
This also arranges for us to use semaphore.c, vecemu.c, vector.S and
fpu.S from arch/powerpc/kernel when compiling with ARCH=ppc.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h index 6a49b138c218..af93ff04c53f 100644 --- a/include/asm-ppc/system.h +++ b/include/asm-ppc/system.h | |||
@@ -77,6 +77,7 @@ extern void enable_kernel_fp(void); | |||
77 | extern void enable_kernel_altivec(void); | 77 | extern void enable_kernel_altivec(void); |
78 | extern void giveup_altivec(struct task_struct *); | 78 | extern void giveup_altivec(struct task_struct *); |
79 | extern void load_up_altivec(struct task_struct *); | 79 | extern void load_up_altivec(struct task_struct *); |
80 | extern int emulate_altivec(struct pt_regs *); | ||
80 | extern void giveup_spe(struct task_struct *); | 81 | extern void giveup_spe(struct task_struct *); |
81 | extern void load_up_spe(struct task_struct *); | 82 | extern void load_up_spe(struct task_struct *); |
82 | extern int fix_alignment(struct pt_regs *); | 83 | extern int fix_alignment(struct pt_regs *); |
@@ -89,6 +90,8 @@ extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long); | |||
89 | extern void bad_page_fault(struct pt_regs *, unsigned long, int); | 90 | extern void bad_page_fault(struct pt_regs *, unsigned long, int); |
90 | extern int die(const char *, struct pt_regs *, long); | 91 | extern int die(const char *, struct pt_regs *, long); |
91 | extern void _exception(int, struct pt_regs *, int, unsigned long); | 92 | extern void _exception(int, struct pt_regs *, int, unsigned long); |
93 | void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); | ||
94 | |||
92 | #ifdef CONFIG_BOOKE_WDT | 95 | #ifdef CONFIG_BOOKE_WDT |
93 | extern u32 booke_wdt_enabled; | 96 | extern u32 booke_wdt_enabled; |
94 | extern u32 booke_wdt_period; | 97 | extern u32 booke_wdt_period; |