diff options
Diffstat (limited to 'arch/powerpc/kernel/misc_32.S')
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index 303229b090b8..3bedb532aed9 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S | |||
@@ -993,33 +993,6 @@ _GLOBAL(_get_SP) | |||
993 | blr | 993 | blr |
994 | 994 | ||
995 | /* | 995 | /* |
996 | * These are used in the alignment trap handler when emulating | ||
997 | * single-precision loads and stores. | ||
998 | * We restore and save the fpscr so the task gets the same result | ||
999 | * and exceptions as if the cpu had performed the load or store. | ||
1000 | */ | ||
1001 | |||
1002 | #ifdef CONFIG_PPC_FPU | ||
1003 | _GLOBAL(cvt_fd) | ||
1004 | lfd 0,-4(r5) /* load up fpscr value */ | ||
1005 | mtfsf 0xff,0 | ||
1006 | lfs 0,0(r3) | ||
1007 | stfd 0,0(r4) | ||
1008 | mffs 0 /* save new fpscr value */ | ||
1009 | stfd 0,-4(r5) | ||
1010 | blr | ||
1011 | |||
1012 | _GLOBAL(cvt_df) | ||
1013 | lfd 0,-4(r5) /* load up fpscr value */ | ||
1014 | mtfsf 0xff,0 | ||
1015 | lfd 0,0(r3) | ||
1016 | stfs 0,0(r4) | ||
1017 | mffs 0 /* save new fpscr value */ | ||
1018 | stfd 0,-4(r5) | ||
1019 | blr | ||
1020 | #endif | ||
1021 | |||
1022 | /* | ||
1023 | * Create a kernel thread | 996 | * Create a kernel thread |
1024 | * kernel_thread(fn, arg, flags) | 997 | * kernel_thread(fn, arg, flags) |
1025 | */ | 998 | */ |