···1616 ;1717 ; Now manually save: r12, sp, fp, gp, r2518181919+ PUSH r301920 PUSH r1220212122 ; Saving pt_regs->sp correctly requires some extra work due to the way···7372 POPAX AUX_USER_SP74731:7574 POP r127575+ POP r3076767777.endm7878
+1-1
arch/arc/include/asm/ptrace.h
···8484 unsigned long fp;8585 unsigned long sp; /* user/kernel sp depending on where we came from */86868787- unsigned long r12;8787+ unsigned long r12, r30;88888989 /*------- Below list auto saved by h/w -----------*/9090 unsigned long r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11;