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
Thiemo Seufer
cce812c99c
Ustat needs a wrapper on n32.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
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
93b25d0621
Useless includes of everything, the kitchen sink and version.h ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:07 +01:00
Ralf Baechle
1342f7e6c5
Arrested for multiple offences of header file inclusion.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:07 +01:00
Ralf Baechle
1fcf1cc742
We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so
...
we need to do the set_fs(KERNEL_DS) thing around this call.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:06 +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
589391a0fe
fcntl64 needs to be wrapped for n32.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:04 +01:00
Ralf Baechle
05b8042ac6
Fix one more case of computing the return EPC after the registers have
...
already been modified.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:04 +01:00
Ralf Baechle
6dd0468852
When simulating ll/sc compute the return EPC before modifying the
...
registers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:04 +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
Ralf Baechle
2b07bd0235
Detect the 4KEcR2 and for now detect handle it like the 4KEc.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:03 +01:00
Pete Popov
fe359bf584
Fixed buglet with previous patch that broke non au1x builds.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:02 +01:00
Pete Popov
494900af68
Remove CONFIG_PM dependency from au1x wait in cpu_probe.
...
Additional work necessary to completely remove that config option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:02 +01:00
Pete Popov
3b495f2bb7
Au1100 FB driver uplift for 2.6.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
Acked-by: Antonino Daplas <adaplas@pol.net >
2005-10-29 19:31:01 +01:00
Thiemo Seufer
172546bf60
Fix race conditions for read_c0_entryhi. Remove broken ASID masks in
...
tlb-sb1.c. Make tlb-r4k.c and tlb-sb1.c more similiar and more efficient.
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:01 +01:00
Maciej W. Rozycki
202d0388e7
Remove useless casts. Fix formatting.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:00 +01:00
Thiemo Seufer
1b3a6e975c
Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP
...
TLB handlers a bit, match definitions in pgtable-{32,64}.h better.
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:00 +01:00
Ralf Baechle
7c2740f1c1
HUB interrupts are allocated per node, not per slice. Make
...
manipulation of the interrupt mask register atomic by disabling
interrupts.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:30:59 +01:00
Ralf Baechle
4f12bfe5a4
HUB interrupts are allocated per node, not per slice. Make manipulation
...
of the interrupt mask register atomic by disabling interrupts.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:30:59 +01:00
Ralf Baechle
6cbe063159
R4300 delay slot.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:30:59 +01:00