summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Replace the complicated and broken attempt to clean interrupt byRalf Baechle2005-10-291-16/+4
| | | | | | something simple - doesn't need to be fast, after all. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* If you want RM7000 better fix it to build first ...Ralf Baechle2005-10-291-1/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* It's unwise to disable all interrupts of the boot node ;-)Ralf Baechle2005-10-291-1/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Enable RM7000 secondary cache for Atlas and Malta boards.Maciej W. Rozycki2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Moves a test which determines if we actually need to perform aRalf Baechle2005-10-291-7/+7
| | | | | | | cacheflush to the right place. That's a bug which is harmless on UP but a severe bug on SMP. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Update MIPS to use the 4-level pagetable code thereby getting rid ofRalf Baechle2005-10-2912-31/+76
| | | | | | the compacrapability headers. 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>
* 25Kf is also physically indexed.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 20Kc and SB1 don't suffer from aliases.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Delete duplicate copy of fixrange_init.Ralf Baechle2005-10-292-33/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* rm9000_init() really is __init code.Ralf Baechle2005-10-291-1/+2
| | | | 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>
* More oprofile bits for MIPS32-style performance counters. The code toRalf Baechle2005-10-294-12/+238
| | | | | | | | | bolt this into the actual hardware interrupt is yet missing from this commit. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> FEXPORT(ret_from_fork)
* It works better when including arch/mips/sgi-ip27/Kconfig ...Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move missplaced code line to the right place.Ralf Baechle2005-10-292-3/+56
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use hardware mechanism to deal with cache aliases in the 24K.Ralf Baechle2005-10-291-2/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove old wrong bits of cache code.Ralf Baechle2005-10-291-3/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Clean up SEAD interrupt initialization.Maciej W. Rozycki2005-10-291-7/+5
| | | | 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>
* Move Sibyte Kconfig stuff into it's own Kconfig.Ralf Baechle2005-10-292-216/+145
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Replace deprecated interruptible_sleep_on() function call with directRalf Baechle2005-10-291-2/+9
| | | | | | wait-queue usage. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Update descriptions for MIPS Technologies evaluation boards.Maciej W. Rozycki2005-10-291-2/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reenable EARLY_PRINTK for the DECstation.Maciej W. Rozycki2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Formatting fixes.Maciej W. Rozycki2005-10-291-9/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixes for system controllers for Atlas/Malta core cards.Maciej W. Rozycki2005-10-295-98/+176
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Actually route cPCI interrupts. Update inaccurate comments.Maciej W. Rozycki2005-10-291-9/+32
| | | | 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-2933-161/+47
| | | | | | | 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>
* Fix build with SMP disabled and preemption enabled.Ralf Baechle2005-10-291-0/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move the invalid pmd and pte tables from .data to .bss. Fix alignment.Thiemo Seufer2005-10-291-10/+4
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able.Thiemo Seufer2005-10-291-18/+17
| | | | | | | | Don't clobber the preloaded TI_FLAGS in a2 needlessly. Unexport local functions. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix typos and formatting.Thiemo Seufer2005-10-292-9/+9
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* De-optimize and decomplicate the spurious interrupt handler.Thiemo Seufer2005-10-291-8/+5
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] type fix in arm/boot/compressed/misc.cAl Viro2005-10-291-1/+1
| | | | | | | spot the typo... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] missing exports of do_settimeofday() variantsAl Viro2005-10-292-0/+2
| | | | | | | | | frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the last two are using variant in kernel/time.c). Exports added to match the rest of architectures. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge branch 'release' of ↵Linus Torvalds2005-10-2842-1205/+4000
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
| * [IA64] fix warning unused variable `g'Tony Luck2005-10-281-1/+1
| | | | | | | | | | | | | | 4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck <tony.luck@intel.com>
| * Pull optimize-ptrace-threads into release branchTony Luck2005-10-281-16/+10
| |\
| | * [IA64] ptrace - find memory sharers on children listCliff Wickman2005-10-271-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In arch/ia64/kernel/ptrace.c there is a test for a peek or poke of a register image (in register backing storage). The test can be unnecessarily long (and occurs while holding the tasklist_lock). Especially long on a large system with thousands of active tasks. The ptrace caller (presumably a debugger) specifies the pid of its target and an address to peek or poke. But the debugger could be attached to several tasks. The idea of find_thread_for_addr() is to find whether the target address is in the RBS for any of those tasks. Currently it searches the thread-list of the target pid. If that search does not find a match, and the shared mm-struct's user count indicates that there are other tasks sharing this address space (a rare occurrence), a search is made of all the tasks in the system. Another approach can drastically shorten this procedure. It depends upon the fact that in order to peek or poke from/to any task, the debugger must first attach to that task. And when it does, the attached task is made a child of the debugger (is chained to its children list). Therefore we can search just the debugger's children list. Signed-off-by: Cliff Wickman <cpw@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | Pull fix-slow-tlb-purge into release branchTony Luck2005-10-282-19/+28
| |\ \
| | * | [IA64] - Avoid slow TLB purges on SGI Altix systemsDean Roe2005-10-272-19/+28
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flush_tlb_all() can be a scaling issue on large SGI Altix systems since it uses the global call_lock and always executes on all cpus. When a process enters flush_tlb_range() to purge TLBs for another process, it is possible to avoid flush_tlb_all() and instead allow sn2_global_tlb_purge() to purge TLBs only where necessary. This patch modifies flush_tlb_range() so that this case can be handled by platform TLB purge functions and updates ia64_global_tlb_purge() accordingly. sn2_global_tlb_purge() now calculates the region register value from the mm argument introduced with this patch. Signed-off-by: Dean Roe <roe@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | Pull fix-bte-copy into release branchTony Luck2005-10-281-1/+1
| |\ \
| | * | [IA64-SGI] fix bte_copy() calling get_nasid() while preemptibleRuss Anderson2005-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bte_copy() calls calls get_nasid(), which will get flagged if preemption if enabled. raw_smp_processor_id() is used instead. It is OK if we migrate off node. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | Pull xpc-disengage into release branchTony Luck2005-10-284-368/+1130
| |\ \ \
| | * | | [IA64-SGI] cleanup the way XPC locates the reserved pageDean Nelson2005-10-251-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate the passing in of a scratch buffer used for locating the reserved page setup for XPC. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>