summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_40x.S
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2013-07-14 11:02:06 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 06:59:50 +0200
commit5f20be4478032eeba66abddc79eae3abea45c5c8 (patch)
treec09e35314402b3647a012b517fa19a7aa0d6a80c /arch/powerpc/kernel/head_40x.S
parentpowerpc: Make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled (diff)
downloadlinux-5f20be4478032eeba66abddc79eae3abea45c5c8.tar.xz
linux-5f20be4478032eeba66abddc79eae3abea45c5c8.zip
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_40x.S')
-rw-r--r--arch/powerpc/kernel/head_40x.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S
index 8a9b6f59822d..67ee0d6c1070 100644
--- a/arch/powerpc/kernel/head_40x.S
+++ b/arch/powerpc/kernel/head_40x.S
@@ -822,14 +822,6 @@ finish_tlb_load:
rfi /* Should sync shadow TLBs */
b . /* prevent prefetch past rfi */
-/* extern void giveup_fpu(struct task_struct *prev)
- *
- * The PowerPC 4xx family of processors do not have an FPU, so this just
- * returns.
- */
-_ENTRY(giveup_fpu)
- blr
-
/* This is where the main kernel code starts.
*/
start_here: