···118118 .task = &tsk, \119119 .current_ds = ASI_P, \120120 .preempt_count = INIT_PREEMPT_COUNT, \121121+ .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \121122}122123123124/* how to get the thread information struct from C */
+1-1
arch/sparc/kernel/head_64.S
···706706 wr %g0, ASI_P, %asi707707 mov 1, %g1708708 sllx %g1, THREAD_SHIFT, %g1709709- sub %g1, (STACKFRAME_SZ + STACK_BIAS), %g1709709+ sub %g1, (STACKFRAME_SZ + STACK_BIAS + TRACEREG_SZ), %g1710710 add %g6, %g1, %sp711711712712 /* Set per-cpu pointer initially to zero, this makes