Maciej W. Rozycki
260c96738c
Mark __die() "noreturn" for real.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:26 +01:00
Maciej W. Rozycki
a76f9fe122
GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:24 +01:00
Maciej W. Rozycki
3bd4c902da
Deal with the bloody KSEG vs CKSEG horror...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:23 +01:00
Ralf Baechle
02416dcf5a
Redo RM9000 workaround which along with other DSP ASE changes was
...
causing some headache for debuggers knowing about signal frames.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:23 +01:00
Maciej W. Rozycki
aac8aa7717
Enable a suitable ISA for the assembler around ll/sc so that code
...
builds even for processors that don't support the instructions.
Plus minor formatting fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:22 +01:00
Ralf Baechle
478489dd2c
Remove dead code which was causing warnings.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:19 +01:00
Ralf Baechle
ac130ac494
Fix build with CONFIG_PRINTK disabled.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:18 +01:00
Ralf Baechle
e50c0a8fa6
Support the MIPS32 / MIPS64 DSP ASE.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:17 +01:00
Ralf Baechle
ffd099bd33
Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:17 +01:00
Ralf Baechle
fdb551a4c5
Bugs are now a configuration option.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:15 +01:00
Ralf Baechle
629c83f89b
On MIPS the struct sigev preamble is only 8 bytes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:15 +01:00
Ralf Baechle
4a99d1e25b
Now that a struct is the only member left in struct
...
mips_fpu_emulator_stats cleanup that unnecessary nesting of structs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:14 +01:00
Ralf Baechle
baee502ce2
Get rid of the eir struct mips_fpu_emulator_private member. It's
...
never initialized been initialized anywhere, just saved to and
restored from signal frames so nonsense anyway. As neat side effect
of being shared between all processors it was also abusable as a
nice covert channel between processes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:14 +01:00
Ralf Baechle
1d74f6bc85
__compute_return_epc() uses CFC1 instruction which might result in a
...
coprocessor unusable exception since the process can lose its fpu
context by preemption.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:13 +01:00
Ralf Baechle
4194318c39
Cleanup decoding of MIPSxx config registers.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:12 +01:00
Thiemo Seufer
ba5187dbb4
Better interface to run uncached cache setup code.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:11 +01:00
Pete Popov
7de8d23287
* use 'unsigned long' as address supplied to au_write[bwl]()
...
* remove two already unused and commented structures
* added an ULL suffix to several address constants that use bits 35-32
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:10 +01:00
Ralf Baechle
9447cbfc7a
Fix D-cache aliasing problem in the PIO IDE driver potencially resulting
...
in the kernel or userspace seeing stale data.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:09 +01:00
Ralf Baechle
ecba36dad8
Fix a few build warnings.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:09 +01:00
Ralf Baechle
88de09f351
Need to include smp.h for the definition of smp_processor_id().
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:08 +01:00
Ralf Baechle
b63014ad2d
Move sync into the delay slot here also.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:08 +01:00
Ralf Baechle
3c37026d43
NPTL, round one.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:06 +01:00
Ralf Baechle
38551576a3
Build fix for certain configurations.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:05 +01:00
Ralf Baechle
f03da6e28e
Fix BogoMIPS display on UP and some minor cosmetical things.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:05 +01:00
Thiemo Seufer
ac5d8c022f
Use fixed up pfn.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:03 +01:00