summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vector.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-10-29 01:44:07 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-01 03:52:26 +0100
commit1f2e25b2d552cade43eacb2edc4e7f01c1cfecb3 (patch)
treec5176a84fe7cfbab1c964015a210b627cf0d879e /arch/powerpc/kernel/vector.S
parentpowerpc: Add ppc_strict_facility_enable boot option (diff)
downloadlinux-1f2e25b2d552cade43eacb2edc4e7f01c1cfecb3.tar.xz
linux-1f2e25b2d552cade43eacb2edc4e7f01c1cfecb3.zip
powerpc: Remove fp_enable() and vec_enable(), use msr_check_and_{set, clear}()
More consolidation of our MSR available bit handling. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/vector.S')
-rw-r--r--arch/powerpc/kernel/vector.S10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/vector.S b/arch/powerpc/kernel/vector.S
index 98675b08efe2..162d0f714941 100644
--- a/arch/powerpc/kernel/vector.S
+++ b/arch/powerpc/kernel/vector.S
@@ -33,16 +33,6 @@ _GLOBAL(do_load_up_transact_altivec)
#endif
/*
- * Enable use of VMX/Altivec for the caller.
- */
-_GLOBAL(vec_enable)
- mfmsr r3
- oris r3,r3,MSR_VEC@h
- MTMSRD(r3)
- isync
- blr
-
-/*
* Load state from memory into VMX registers including VSCR.
* Assumes the caller has enabled VMX in the MSR.
*/