[PATCH] ppc32: Add missing prototype

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jan 18 12:50:11 EST 2005


Hi !

This patch fixes a warning by adding a missing function prototype
for enable_kernel_altivec().

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Index: linux-work/include/asm-ppc/system.h
===================================================================
--- linux-work.orig/include/asm-ppc/system.h	2004-11-22 11:50:50.000000000 +1100
+++ linux-work/include/asm-ppc/system.h	2005-01-17 13:49:51.633302712 +1100
@@ -74,6 +74,7 @@
 extern void pmac_find_display(void);
 extern void giveup_fpu(struct task_struct *);
 extern void enable_kernel_fp(void);
+extern void enable_kernel_altivec(void);
 extern void giveup_altivec(struct task_struct *);
 extern void load_up_altivec(struct task_struct *);
 extern void giveup_spe(struct task_struct *);





More information about the Linuxppc-dev mailing list