Rodolfo Giometti wrote:
in order to restore the scratch registers contents as descibed into file "linux/arch/mips/au1000/common/sleeper.S":
If you're talking about 2.6, the code in that file seems very incorrect in regard to how it deals wiht the stack frame, since it effectively trashes regs $1 and $2 reusing their slots for saving CP0 Status and Context regs. 2.4 branch has more sane variant.
Thanks in advance, Rodolfo
WBR, Sergei