]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/powerpc/include/asm/switch_to.h
powerpc: Add the ability to save Altivec without giving it up
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / include / asm / switch_to.h
index 6a201e8dc94791dc4c5b6dca6c7bb9f194fcf818..9028822bb73f52c25c75ea4571942b7bebc9d10e 100644 (file)
@@ -43,12 +43,13 @@ static inline void flush_fp_to_thread(struct task_struct *t) { }
 extern void enable_kernel_altivec(void);
 extern void flush_altivec_to_thread(struct task_struct *);
 extern void giveup_altivec(struct task_struct *);
-extern void __giveup_altivec(struct task_struct *);
+extern void save_altivec(struct task_struct *);
 static inline void disable_kernel_altivec(void)
 {
        msr_check_and_clear(MSR_VEC);
 }
 #else
+static inline void save_altivec(struct task_struct *t) { }
 static inline void __giveup_altivec(struct task_struct *t) { }
 #endif