summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/compat_ptrace.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-07-14 09:58:54 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 10:02:09 +0200
commit63506c41986c4af9d4fd6f3490e98e335f3dc8f5 (patch)
tree6d817aedf37a004c12713a0b594387b9dadd59ea /arch/s390/kernel/compat_ptrace.h
parentae437a452ed20f9d13c1f17b0356201d54394efa (diff)
downloadop-kernel-dev-63506c41986c4af9d4fd6f3490e98e335f3dc8f5.zip
op-kernel-dev-63506c41986c4af9d4fd6f3490e98e335f3dc8f5.tar.gz
[S390] Introduce user_regset accessors for s390
Add the user_regset definitions for normal and compat processes, replace the dump_regs core dump cruft with the generic CORE_DUMP_USER_REGSET and replace binfmt_elf32.c with the generic compat_binfmt_elf.c implementation. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_ptrace.h')
-rw-r--r--arch/s390/kernel/compat_ptrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/compat_ptrace.h b/arch/s390/kernel/compat_ptrace.h
index 419aef9..cde81fa 100644
--- a/arch/s390/kernel/compat_ptrace.h
+++ b/arch/s390/kernel/compat_ptrace.h
@@ -1,7 +1,7 @@
#ifndef _PTRACE32_H
#define _PTRACE32_H
-#include "compat_linux.h" /* needed for _psw_t32 */
+#include "compat_linux.h" /* needed for psw_compat_t */
typedef struct {
__u32 cr[3];
@@ -38,7 +38,7 @@ typedef struct {
struct user_regs_struct32
{
- _psw_t32 psw;
+ psw_compat_t psw;
u32 gprs[NUM_GPRS];
u32 acrs[NUM_ACRS];
u32 orig_gpr2;
OpenPOWER on IntegriCloud