]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc: Remove NULL task struct pointer checks in FP and vector code
authorAnton Blanchard <anton@samba.org>
Thu, 29 Oct 2015 00:44:00 +0000 (11:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 1 Dec 2015 02:52:25 +0000 (13:52 +1100)
commitb51b1153d0e78a70767441273331d2de066bb929
tree1b41562f57798ca87aa5f363c66cb3c8530e6ebf
parent611b0e5c19963374175b39f42117b03ee7573228
powerpc: Remove NULL task struct pointer checks in FP and vector code

We used to allow giveup_*() to be called with a NULL task struct
pointer. Now those cases are handled in the caller we can remove
the checks. We can also remove giveup_altivec_notask() which is also
unused.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/switch_to.h
arch/powerpc/kernel/fpu.S
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/kernel/vector.S