WSL2-Linux-Kernel/arch/sh
Hideo Saito e6bcf562e5 sh: Fix kernel thread stack corruption with preempt.
When I run a preemptive kernel-2.6.20 for SH7780, a created
kthread(pdflush) can not exit by do_exit() in kernel_thread_helper. I
think that the created kthread should have a room for 'struct pt_regs'
space on the stack top, because __switch_to() will refer to the space as
follows using 'regs = task_pt_regs(prev)' and next condition may be true.

Signed-off-by: Hideo Saito <saito@densan.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-03-05 14:13:26 +09:00
..
boards sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
boot sh: Fix .empty_zero_page alignment for PAGE_SIZE > 4096. 2006-12-12 08:53:29 +09:00
cchips sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
configs sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
drivers sh: Kill off dead bigsur and ec3104 boards. 2007-02-14 15:06:09 +09:00
kernel sh: Fix kernel thread stack corruption with preempt. 2007-03-05 14:13:26 +09:00
lib sh: Fix memcpy() build error on sh4eb. 2006-09-27 17:50:03 +09:00
math-emu sh: Kill off remaining config.h references. 2006-10-03 13:19:02 +09:00
mm sh: Revert TLB miss fast-path changes that broke PTEA parts. 2007-02-14 14:13:10 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: Kill off dead bigsur and ec3104 boards. 2007-02-14 15:06:09 +09:00
Kconfig sh: Kill off dead bigsur and ec3104 boards. 2007-02-14 15:06:09 +09:00
Kconfig.debug sh: Trivial build fixes for SH-2 support. 2006-12-12 08:42:07 +09:00
Makefile sh: Kill off dead bigsur and ec3104 boards. 2007-02-14 15:06:09 +09:00