aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r--include/asm-powerpc/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h
index 2642a92b724..0c12c66733f 100644
--- a/include/asm-powerpc/system.h
+++ b/include/asm-powerpc/system.h
@@ -139,6 +139,7 @@ extern void enable_kernel_altivec(void);
139extern void giveup_altivec(struct task_struct *); 139extern void giveup_altivec(struct task_struct *);
140extern void load_up_altivec(struct task_struct *); 140extern void load_up_altivec(struct task_struct *);
141extern int emulate_altivec(struct pt_regs *); 141extern int emulate_altivec(struct pt_regs *);
142extern void giveup_vsx(struct task_struct *);
142extern void enable_kernel_spe(void); 143extern void enable_kernel_spe(void);
143extern void giveup_spe(struct task_struct *); 144extern void giveup_spe(struct task_struct *);
144extern void load_up_spe(struct task_struct *); 145extern void load_up_spe(struct task_struct *);
@@ -162,6 +163,14 @@ static inline void flush_altivec_to_thread(struct task_struct *t)
162} 163}
163#endif 164#endif
164 165
166#ifdef CONFIG_VSX
167extern void flush_vsx_to_thread(struct task_struct *);
168#else
169static inline void flush_vsx_to_thread(struct task_struct *t)
170{
171}
172#endif
173
165#ifdef CONFIG_SPE 174#ifdef CONFIG_SPE
166extern void flush_spe_to_thread(struct task_struct *); 175extern void flush_spe_to_thread(struct task_struct *);
167#else 176#else