diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2008-01-31 22:11:41 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-26 12:17:03 +0100 |
commit | 445857e0fc16ba3f74e778dd5a8707459c84f933 (patch) | |
tree | ce9af22f3f16a3a4fe445ab9cab002bea3be6829 /arch/ppc | |
parent | [POWERPC] Add code for removing HPTEs for parts of the linear mapping (diff) | |
download | linux-445857e0fc16ba3f74e778dd5a8707459c84f933.tar.xz linux-445857e0fc16ba3f74e778dd5a8707459c84f933.zip |
[POWERPC] Remove dead code at KernelAltiVec
This code isn't referenced anywhere, so remove it.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/head.S | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/ppc/kernel/head.S b/arch/ppc/kernel/head.S index 1b0ec7202dd5..e7e642b95138 100644 --- a/arch/ppc/kernel/head.S +++ b/arch/ppc/kernel/head.S @@ -701,23 +701,6 @@ load_up_altivec: b fast_exception_return /* - * AltiVec unavailable trap from kernel - print a message, but let - * the task use AltiVec in the kernel until it returns to user mode. - */ -KernelAltiVec: - lwz r3,_MSR(r1) - oris r3,r3,MSR_VEC@h - stw r3,_MSR(r1) /* enable use of AltiVec after return */ - lis r3,87f@h - ori r3,r3,87f@l - mr r4,r2 /* current */ - lwz r5,_NIP(r1) - bl printk - b ret_from_except -87: .string "AltiVec used in kernel (task=%p, pc=%x) \n" - .align 4,0 - -/* * giveup_altivec(tsk) * Disable AltiVec for the task given as the argument, * and save the AltiVec registers in its thread_struct. |