summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [MIPS] Add topology_init.Rojhalat Ibrahim2006-02-211-0/+20
| | | | | | | | | | A recent patch introduced cpu topology in sysfs. When you run a kernel with SMP and sysfs enabled, you now get an Oops on boot. The following patch fixes that by adding topology_init to arch/mips/kernel/smp.c. The code is copied from arch/s390/kernel/smp.c. Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] sched: disable preempt in idle tasksNick Piggin2005-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run idle threads with preempt disabled. Also corrected a bugs in arm26's cpu_idle (make it actually call schedule()). How did it ever work before? Might fix the CPU hotplugging hang which Nigel Cunningham noted. We think the bug hits if the idle thread is preempted after checking need_resched() and before going to sleep, then the CPU offlined. After calling stop_machine_run, the CPU eventually returns from preemption and into the idle thread and goes to sleep. The CPU will continue executing previous idle and have no chance to call play_dead. By disabling preemption until we are ready to explicitly schedule, this bug is fixed and the idle threads generally become more robust. From: alexs <ashepard@u.washington.edu> PPC build fix From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> MIPS build fix Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Delete old junk.Ralf Baechle2005-10-291-1/+0Star
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Make sure that the processor is actually online or die spectacularly.Ralf Baechle2005-10-291-0/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle2005-10-291-1/+0Star
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Merge do_boot_cpu() into the new style __cpu_up().Ralf Baechle2005-10-291-21/+9Star
| | | | 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>
* Linux-2.6.12-rc2Linus Torvalds2005-04-171-0/+425
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!