linux/arch/mips/kernel
Atsushi Nemoto c138e12f3a [MIPS] Fix fpu_save_double on 64-bit.
> Without this fix, _save_fp() in 64-bit kernel is seriously broken.
>
> ffffffff8010bec0 <_save_fp>:
> ffffffff8010bec0:       400d6000        mfc0    t1,c0_status
> ffffffff8010bec4:       000c7140        sll     t2,t0,0x5
> ffffffff8010bec8:       05c10011        bgez    t2,ffffffff8010bf10 <_save_fp+0x50>
> ffffffff8010becc:       00000000        nop
> ffffffff8010bed0:       f4810328        sdc1    $f1,808(a0)
> ...

Fix register usage in fpu_save_double() and make fpu_restore_double()
more symmetric with fpu_save_double().

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-06-19 17:39:13 +01:00
..
asm-offsets.c [MIPS] Update struct sigcontext member names 2006-06-01 00:28:31 +01:00
binfmt_elfn32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
binfmt_elfo32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
branch.c [MIPS] Fix branch emulation for floating-point exceptions. 2006-04-27 15:13:50 +01:00
cpu-bugs64.c [MIPS] Fix sparse warnings about too big constants. 2006-06-06 00:15:19 +01:00
cpu-probe.c [MIPS] SB1: Only pass1 FPUs are broken beyond recovery. 2006-06-06 00:15:18 +01:00
dma-no-isa.c Dummy ISA DMA functions for systems that don't have ISA but share 2005-10-29 19:30:17 +01:00
entry.S [MIPS] Fix typo 2006-06-01 00:28:29 +01:00
gdb-low.S [MIPS] Fix kgdb exception handler from user mode. 2006-06-01 00:28:32 +01:00
gdb-stub.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
genex.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
head.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
i8253.c Input: pcspkr - separate device and driver registration 2006-03-14 00:11:50 -05:00
i8259.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irix5sys.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irixelf.c [PATCH] Don't uselessly export task_struct to userspace in core dumps 2005-10-30 17:37:18 -08:00
irixinv.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irixioctl.c Reformatting, remove debugging code. 2005-10-29 19:30:57 +01:00
irixsig.c [PATCH] remove add_parent()'s parent argument 2006-03-28 18:36:41 -08:00
irq_cpu.c MT bulletproofing. 2005-10-29 19:32:09 +01:00
irq-msc01.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
irq-mv6434x.c [MIPS] Momentum: Resurrect after things were moved around a while ago. 2006-03-09 18:05:09 +00:00
irq-rm7000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq-rm9000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
kspd.c [MIPS] kpsd and other AP/SP improvements. 2006-04-19 04:14:27 +02:00
linux32.c [PATCH] fix mips sys32_p{read,write} 2006-04-26 07:52:21 -07:00
Makefile [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
mips_ksyms.c [MIPS] Sort out duplicate exports. 2006-04-19 04:14:14 +02:00
mips-mt.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
module.c [MIPS] Ignore unresolved weak symbols in modules. 2006-06-06 00:15:10 +01:00
proc.c [MIPS] Treat R14000 like R10000. 2006-06-01 00:28:35 +01:00
process.c [MIPS] FPU affinity for MT ASE. 2006-04-19 04:14:28 +02:00
ptrace32.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
r4k_fpu.S Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
r4k_switch.S [MIPS] Fix fpu_save_double on 64-bit. 2006-06-19 17:39:13 +01:00
r2300_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r2300_switch.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r6000_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
reset.c [MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again. 2006-02-07 13:30:22 +00:00
rtlx.c [MIPS] Cleanup inode->r_dev usage. 2006-04-27 15:13:50 +01:00
scall32-o32.S [MIPS] FPU affinity for MT ASE. 2006-04-19 04:14:28 +02:00
scall64-64.S [MIPS] Wire up sync_file_range(2). 2006-04-19 04:14:14 +02:00
scall64-n32.S [MIPS] Wire up sync_file_range(2). 2006-04-19 04:14:14 +02:00
scall64-o32.S [MIPS] open() forces O_LARGEFILE for o32 on 64bit kernels 2006-06-06 00:15:17 +01:00
semaphore.c Always use ".set mips3" rather than select between "mips2" or "mips3" 2005-10-29 19:31:31 +01:00
setup.c [MIPS] Fix sparsemem support. 2006-06-06 00:15:20 +01:00
signal32.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
signal_n32.c [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend 2006-03-21 13:27:46 +00:00
signal-common.h [MIPS] Update struct sigcontext member names 2006-06-01 00:28:31 +01:00
signal.c [MIPS] Signal cleanup 2006-03-21 13:27:46 +00:00
smp-mt.c [MIPS] FPU affinity for MT ASE. 2006-04-19 04:14:28 +02:00
smp.c [MIPS] Fix SMP now that fixup_cpu_present_map is gone. 2006-06-06 00:15:09 +01:00
smtc-asm.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc-proc.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
syscall.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
sysirix.c [PATCH] sys_alarm() unsigned signed conversion fixup 2006-03-25 08:22:48 -08:00
time.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
traps.c [MIPS] Print more information if we're struck by a machine check exception. 2006-06-06 00:15:13 +01:00
unaligned.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
vmlinux.lds.S [MIPS] Use generic STABS_DEBUG macro. 2006-06-01 00:28:33 +01:00
vpe.c [MIPS] Cleanup inode->r_dev usage. 2006-04-27 15:13:50 +01:00