Actually the following hunks are not right. ST_OFF
should be applied against the task_struct, which is a0,
not thread_info (t3). Try to back off the change and see if things
are ok.
Also see my next email before you rush into trying :-)
Jun
On Mon, Feb 03, 2003 at 11:21:50PM +0100, Vivien Chappelier wrote:
<snip>
> /*
> * clear saved user stack CU1 bit
> */
> - ld t0, ST_OFF(a0)
> + ld t0, ST_OFF(t3)
> li t1, ~ST0_CU1
> and t0, t0, t1
> - sd t0, ST_OFF(a0)
> + sd t0, ST_OFF(t3)
>
>
> sll t2, t0, 5
> Index: arch/mips/kernel/r4k_switch.S
> ===================================================================
> RCS file: /home/cvs/linux/arch/mips/kernel/r4k_switch.S,v
> retrieving revision 1.29
> diff -u -r1.29 r4k_switch.S
> --- arch/mips/kernel/r4k_switch.S 5 Nov 2002 19:51:47 -0000 1.29
> +++ arch/mips/kernel/r4k_switch.S 3 Feb 2003 22:06:17 -0000
> @@ -67,10 +67,10 @@
> /*
> * clear saved user stack CU1 bit
> */
> - lw t0, ST_OFF(a0)
> + lw t0, ST_OFF(t3)
> li t1, ~ST0_CU1
> and t0, t0, t1
> - sw t0, ST_OFF(a0)
> + sw t0, ST_OFF(t3)
>
> FPU_SAVE_DOUBLE(a0, t0) # clobbers t0
>
>
|