diff options
Diffstat (limited to 'include/asm-ppc64/ppc32.h')
-rw-r--r-- | include/asm-ppc64/ppc32.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-ppc64/ppc32.h b/include/asm-ppc64/ppc32.h index 3945a55d112a..90e562771791 100644 --- a/include/asm-ppc64/ppc32.h +++ b/include/asm-ppc64/ppc32.h | |||
@@ -91,6 +91,22 @@ typedef struct sigaltstack_32 { | |||
91 | compat_size_t ss_size; | 91 | compat_size_t ss_size; |
92 | } stack_32_t; | 92 | } stack_32_t; |
93 | 93 | ||
94 | struct pt_regs32 { | ||
95 | unsigned int gpr[32]; | ||
96 | unsigned int nip; | ||
97 | unsigned int msr; | ||
98 | unsigned int orig_gpr3; /* Used for restarting system calls */ | ||
99 | unsigned int ctr; | ||
100 | unsigned int link; | ||
101 | unsigned int xer; | ||
102 | unsigned int ccr; | ||
103 | unsigned int mq; /* 601 only (not used at present) */ | ||
104 | unsigned int trap; /* Reason for being here */ | ||
105 | unsigned int dar; /* Fault registers */ | ||
106 | unsigned int dsisr; | ||
107 | unsigned int result; /* Result of a system call */ | ||
108 | }; | ||
109 | |||
94 | struct sigcontext32 { | 110 | struct sigcontext32 { |
95 | unsigned int _unused[4]; | 111 | unsigned int _unused[4]; |
96 | int signal; | 112 | int signal; |