powerpc: Fix missing declaration of [en/dis]able_kernel_vsx()
[linux-2.6-block.git] / arch / powerpc / include / asm / switch_to.h
index fdab934283721f3033304a646fe44636425765c1..9d1fbd8be1c74277ce69c3c095755659aa8a3340 100644 (file)
@@ -71,6 +71,16 @@ static inline void disable_kernel_vsx(void)
 {
        msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX);
 }
+#else
+static inline void enable_kernel_vsx(void)
+{
+       BUILD_BUG();
+}
+
+static inline void disable_kernel_vsx(void)
+{
+       BUILD_BUG();
+}
 #endif
 
 #ifdef CONFIG_SPE