diff options
author | Scott Wood <scottwood@freescale.com> | 2011-12-20 15:34:45 +0000 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 12:54:15 +0300 |
commit | 8fae845f4956de0becc115e926d33eff46722e94 (patch) | |
tree | 22c64321beca71db6d671e7479362b0e1caddc56 /arch/powerpc/include/asm/switch_to.h | |
parent | d30f6e480055e5be12e7a03fd11ea912a451daa5 (diff) | |
download | blackbird-op-linux-8fae845f4956de0becc115e926d33eff46722e94.tar.gz blackbird-op-linux-8fae845f4956de0becc115e926d33eff46722e94.zip |
KVM: PPC: booke: standard PPC floating point support
e500mc has a normal PPC FPU, rather than SPE which is found
on e500v1/v2.
Based on code from Liu Yu <yu.liu@freescale.com>.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/switch_to.h')
-rw-r--r-- | arch/powerpc/include/asm/switch_to.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/switch_to.h b/arch/powerpc/include/asm/switch_to.h index caf82d0a00de..1622c356ba90 100644 --- a/arch/powerpc/include/asm/switch_to.h +++ b/arch/powerpc/include/asm/switch_to.h @@ -17,6 +17,7 @@ extern struct task_struct *_switch(struct thread_struct *prev, struct thread_struct *next); extern void giveup_fpu(struct task_struct *); +extern void load_up_fpu(void); extern void disable_kernel_fp(void); extern void enable_kernel_fp(void); extern void flush_fp_to_thread(struct task_struct *); |