Skip to contentSkip to conversation

MIPS: Avoid clobbering struct pt_regs in kthreads

DISCUSSION David Daney 1 participant 1 message Aug 12, 2009 1 message not in the archive MIPS

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Ralf Rösch

Hi David,

Sorry to say, but your commit d406c9ae84d6ef12c55a41c97c34266b2eb7ed31 makes 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