diff options
author | Kevin Hao <haokexin@gmail.com> | 2013-07-14 17:02:06 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-14 14:59:50 +1000 |
commit | 5f20be4478032eeba66abddc79eae3abea45c5c8 (patch) | |
tree | c09e35314402b3647a012b517fa19a7aa0d6a80c /arch/powerpc/kernel/head_44x.S | |
parent | 037f0eed57c3f35367ac32275e45f24e297549e9 (diff) | |
download | op-kernel-dev-5f20be4478032eeba66abddc79eae3abea45c5c8.zip op-kernel-dev-5f20be4478032eeba66abddc79eae3abea45c5c8.tar.gz |
powerpc: Remove the empty giveup_fpu() function on 32bit kernel
Instead of implementing an empty giveup_fpu() function for each
32bit processor type, replace them with an unique empty inline
function.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index 97e2671..c334f53 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S @@ -784,16 +784,6 @@ _GLOBAL(__fixup_440A_mcheck) sync blr -/* - * extern void giveup_fpu(struct task_struct *prev) - * - * The 44x core does not have an FPU. - */ -#ifndef CONFIG_PPC_FPU -_GLOBAL(giveup_fpu) - blr -#endif - _GLOBAL(set_context) #ifdef CONFIG_BDI_SWITCH |