From: Paul M. <le...@li...> - 2007-02-26 09:41:15
|
On Mon, Feb 26, 2007 at 05:43:05PM +0900, Hideo Saito wrote: > 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. > Yes, I think this is the right fix. Can you please provide a Signed-off-by tag? |