MIPS: Avoid clobbering struct pt_regs in kthreads
Quoted 4 lines · Ralf Rösch
Hi David,
Sorry to say, but your commit
d406c9ae84d6ef12c55a41c97c34266b2eb7ed31makes my TX49xx (Toshiba RISC mipsel) based system unusable.
Quoted 8 lines
The kernel boots fine until the stage:
Freeing unused kernel memory: 140k freed
and then stops.
Some of our LEDS are updated as supposed, so a part of the kernel should be running.Reverting your commit makes the latest 2.4.37.4 kernel usable again. Do you have an idea what might go wrong?
I'm sorry, I can't think of anything.
I would look in copy_thread and the kthread spawning code. Does TX49xx have custom versions of these?
David Daney