summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
Commit message (Collapse)AuthorAgeFilesLines
* 64-bit fixes for Alchemy code ;)Ralf Baechle2005-10-291-6/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix tasteless #ifdef mess in audit_arch(), minor cleanups.Ralf Baechle2005-10-291-17/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* __compute_return_epc() uses CFC1 instruction which might result in aRalf Baechle2005-10-291-3/+7
| | | | | | | coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* sys_nfsservctl() needs translation.Maciej W. Rozycki2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* No point in checking cpu_has_tlb before we've computed the CPU options.Ralf Baechle2005-10-291-4/+4
| | | | | | | | | | So for now we just unconditionally set the option - Linux wouldn't work without a TLB anyway. Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that back. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup decoding of MIPSxx config registers.Ralf Baechle2005-10-292-44/+105
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix preemption and SMP problems in the FP emulator code.Ralf Baechle2005-10-291-2/+17
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Ustat needs a wrapper on n32.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, soRalf Baechle2005-10-291-0/+4
| | | | | | we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* NPTL, round one.Ralf Baechle2005-10-2911-7/+118
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle2005-10-292-2/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* fcntl64 needs to be wrapped for n32.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix one more case of computing the return EPC after the registers haveRalf Baechle2005-10-291-1/+1
| | | | | | already been modified. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When simulating ll/sc compute the return EPC before modifying theRalf Baechle2005-10-291-2/+3
| | | | | | registers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the 4KEcR2 and for now detect handle it like the 4KEc.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixed buglet with previous patch that broke non au1x builds.Pete Popov2005-10-291-9/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove CONFIG_PM dependency from au1x wait in cpu_probe.Pete Popov2005-10-291-24/+19
| | | | | | Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMPThiemo Seufer2005-10-291-0/+1
| | | | | | | 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>
* Use compat_sigval_t in struct compat_siginfo.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reformatting, remove debugging code.Ralf Baechle2005-10-291-37/+26
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of the the remains of 2.4-style ramdisk support.Ralf Baechle2005-10-291-7/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Multithreaded core dumps.Ralf Baechle2005-10-291-0/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* sys_futex has 6 arguments.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Export shm_align_mask and flush_data_cache_page.Ralf Baechle2005-10-291-0/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Gcc 4.0 fixes.Ralf Baechle2005-10-291-4/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix preemption bug.Ralf Baechle2005-10-291-2/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sparseify MIPS.Ralf Baechle2005-10-2910-478/+489
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* On 24K we did always disable cache parity protection - obviously notRalf Baechle2005-10-291-9/+5
| | | | | | | the greatest thing to do. Try to enable parity protection, check if we actually succeeded and print a message about the outcome of this. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ISOify.Ralf Baechle2005-10-291-60/+60
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Base Au1200 2.6 support.Pete Popov2005-10-292-0/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binariesSteven J. Hill2005-10-291-33/+27
| | | | | | | | | are now working for 80% of the ones I have tried. The other ones that do not work all fail in the same way with the same messages. Once that bug is tracked down, we should be in good shape. Task locking still needs some work. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert struct hw_interrupt_type initializations to ISO C99 namedRalf Baechle2005-10-296-61/+56
| | | | | | initializers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Merge do_boot_cpu() into the new style __cpu_up().Ralf Baechle2005-10-291-21/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* On multiprocessor systems the BogoMIPS for each CPU was reported wasRalf Baechle2005-10-291-2/+2
| | | | | | the value for the last CPU having calibrated it's delay loop. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix wchan implementation, based on earlier by from Atsushi Nemoto.Thiemo Seufer2005-10-291-58/+77
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Improved modules loader, more robust and works on 64bit kernels.Thiemo Seufer2005-10-294-529/+337
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Until I figure out why NFS filesystems are having problems withSteven J. Hill2005-10-291-103/+123
| | | | | | | | | | | | the 'load_irix_binary' and having kernel faults, Irix support is disabled. I suspect locking of some sort, but I will now have to investigate further. Static IRIX binaries are now being detected properly and are using the ELF interpreter found in this file. Signed-off-by: Steven J. Hill <sjhill@realitydiluted.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 32-bit compatibility for various timer-related system calls.Ralf Baechle2005-10-293-10/+60
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Update to match the native siginfo structure and code.Ralf Baechle2005-10-291-2/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 32-bit compatibility for ptrace GETEVENTMSG operation.Ralf Baechle2005-10-291-1/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Implement 32-bit compatibility for waitid(2).Ralf Baechle2005-10-294-2/+51
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Waitid(2) now has 5 arguments.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use generic compat_sys_wait4 to implement 32-bit wait4(2).Ralf Baechle2005-10-293-74/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Document why calling smp_call_function will deadlock when called withRalf Baechle2005-10-291-1/+13
| | | | | | interrupts disabled. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use preempt_schedule_irq.Ralf Baechle2005-10-291-5/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Mask and ack CPU interrupts upon initialization. Keep the stateMaciej W. Rozycki2005-10-291-1/+6
| | | | | | of software interrupts when unmasking. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Signed-off-by: Ralf Baechle <ralf@linux-mips.org>Ralf Baechle2005-10-292-2/+6
| | | | Fix TASK_SIZE for 32-bit processes on 64-bit kernels.
* Fix register layout in o32 core dumps on 64-bit systems.Ralf Baechle2005-10-291-13/+18
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of early_init. There's more need to make this form ofRalf Baechle2005-10-292-32/+2
| | | | | | | initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Dummy ISA DMA functions for systems that don't have ISA but shareRalf Baechle2005-10-291-0/+28
| | | | | | drivers with ISA such as legacy free PCI. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud