diff options
Diffstat (limited to 'arch/arc/include/asm/ptrace.h')
-rw-r--r-- | arch/arc/include/asm/ptrace.h | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/arch/arc/include/asm/ptrace.h b/arch/arc/include/asm/ptrace.h index c9938e7a7dbd..1bfeec2c0558 100644 --- a/arch/arc/include/asm/ptrace.h +++ b/arch/arc/include/asm/ptrace.h | |||
@@ -20,27 +20,17 @@ struct pt_regs { | |||
20 | 20 | ||
21 | /* Real registers */ | 21 | /* Real registers */ |
22 | long bta; /* bta_l1, bta_l2, erbta */ | 22 | long bta; /* bta_l1, bta_l2, erbta */ |
23 | long lp_start; | 23 | |
24 | long lp_end; | 24 | long lp_start, lp_end, lp_count; |
25 | long lp_count; | 25 | |
26 | long status32; /* status32_l1, status32_l2, erstatus */ | 26 | long status32; /* status32_l1, status32_l2, erstatus */ |
27 | long ret; /* ilink1, ilink2 or eret */ | 27 | long ret; /* ilink1, ilink2 or eret */ |
28 | long blink; | 28 | long blink; |
29 | long fp; | 29 | long fp; |
30 | long r26; /* gp */ | 30 | long r26; /* gp */ |
31 | long r12; | 31 | |
32 | long r11; | 32 | long r12, r11, r10, r9, r8, r7, r6, r5, r4, r3, r2, r1, r0; |
33 | long r10; | 33 | |
34 | long r9; | ||
35 | long r8; | ||
36 | long r7; | ||
37 | long r6; | ||
38 | long r5; | ||
39 | long r4; | ||
40 | long r3; | ||
41 | long r2; | ||
42 | long r1; | ||
43 | long r0; | ||
44 | long sp; /* user/kernel sp depending on where we came from */ | 34 | long sp; /* user/kernel sp depending on where we came from */ |
45 | long orig_r0; | 35 | long orig_r0; |
46 | 36 | ||
@@ -70,19 +60,7 @@ struct pt_regs { | |||
70 | /* Callee saved registers - need to be saved only when you are scheduled out */ | 60 | /* Callee saved registers - need to be saved only when you are scheduled out */ |
71 | 61 | ||
72 | struct callee_regs { | 62 | struct callee_regs { |
73 | long r25; | 63 | long r25, r24, r23, r22, r21, r20, r19, r18, r17, r16, r15, r14, r13; |
74 | long r24; | ||
75 | long r23; | ||
76 | long r22; | ||
77 | long r21; | ||
78 | long r20; | ||
79 | long r19; | ||
80 | long r18; | ||
81 | long r17; | ||
82 | long r16; | ||
83 | long r15; | ||
84 | long r14; | ||
85 | long r13; | ||
86 | }; | 64 | }; |
87 | 65 | ||
88 | #define instruction_pointer(regs) ((regs)->ret) | 66 | #define instruction_pointer(regs) ((regs)->ret) |