[POWERPC] Declare enable_kernel_spe in a header
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 27 Apr 2007 22:00:03 +0000 (08:00 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Apr 2007 01:02:05 +0000 (11:02 +1000)
This patch puts enable_kernel_spe into <asm-powerpc/system.h> along with
enable_kernel_altivec etc.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/system.h

index f7b1227d64548ab68f557f78a1ba1fa5afe89bf1..d3e0906ff2bc055bf1df7b566ff293e2faf778c6 100644 (file)
@@ -131,6 +131,7 @@ extern void enable_kernel_altivec(void);
 extern void giveup_altivec(struct task_struct *);
 extern void load_up_altivec(struct task_struct *);
 extern int emulate_altivec(struct pt_regs *);
+extern void enable_kernel_spe(void);
 extern void giveup_spe(struct task_struct *);
 extern void load_up_spe(struct task_struct *);
 extern int fix_alignment(struct pt_regs *);