MIPS: DSP: Context switch the DSPcontrol register also.
  
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: DSP: eleminate used_dsp.
    
used_dsp was meant to be used like used_math - but since the FPU context
is small and lazy context switching is a stupid idea on multiprocessors
this idea only got halfway implemented and those bits are were now
breaking ptrace.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Fix mdelay(1) for 64bit kernel with HZ == 1000
    
mdelay(1) (i.e. udelay(1000)) does not work correctly due to overflow.
    
1000 * 0x004189374BC6A7f0 = 0x10000000000000180 (>= 2**64)
    
0x004189374BC6A7ef (0x004189374BC6A7f0 - 1) is OK and it is exactly
same as catchall case (0x8000000000000000UL / (500000 / HZ)).
    
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: DSP: Set all register masks to 0x3ff.
    
0x2ff was a typo and the value 0x1f of DSP_MASK was refering to an old
version of the documentation.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: DSP: Put DSPcontrol register into the right place in the signal frame.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: DSP: Put mask field into the right place.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: FP: Remove silly trick to avoid warning.
    
Just doesn't fool a modern compiler anymore.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Get rid of atomic_lock.
    
It was resulting in build errors for some configurations.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: MT: Fix 32-bit dependencies.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Rename MIPS_CPU_ISA_M{32,64} -> MIPS_CPU_ISA_M{32,64}R1.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Introduce machinery for testing for MIPSxxR1/2.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Reorganize ISA constants strictly as bitmasks.
    
Signed-off-by: Ralf Baechle <ralf@ongar.mips.com>
MIPS: Oprofile: Fixup the loose ends in the plumbing.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Oprofile: Print error message if the CPU happen to have no counters.
    
Signed-off-by: Ralf Baechle <ralf@ongar.mips.com>
MIPS: Oprofile: Add 5K, 20K and 25K support.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Update Yoichi Yuasa's email address.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Au1550: Fix OHCI memory map size
    
USB OpenHCI host controller on Au1550 only decodes memory addresses from
0x14020000 to 0x1407FFFF according to the databook, which gives 0x60000
(on the prior Au1x00 chips the map size was 1MB).
    
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Remove unused CONFIG_CPU_HAS_LLDSCD.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Namespace pollution: dump_regs() -> elf_dump_regs()
    
dump_regs() is used by a bunch of drivers for their internal stuff;
renamed mips instance (one that is seen in system-wide headers)
to elf_dump_regs()
    
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>