Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362811
b: refs/heads/master
c: e4371f6
h: refs/heads/master
i:
  362809: 55c0965
  362807: 3d19ea4
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Apr 23, 2013
1 parent 5a49de6 commit e0bee98
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f58104c8c62e40c8734477b6a9308c77b5d9355
refs/heads/master: e4371f602e2fce650cb3f7d1ca5c7cd6fca78dda
16 changes: 16 additions & 0 deletions trunk/arch/s390/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ typedef u32 compat_ulong_t;
typedef u64 compat_u64;
typedef u32 compat_uptr_t;

typedef struct {
u32 mask;
u32 addr;
} __aligned(8) psw_compat_t;

typedef struct {
psw_compat_t psw;
u32 gprs[NUM_GPRS];
u32 acrs[NUM_ACRS];
u32 orig_gpr2;
} s390_compat_regs;

typedef struct {
u32 gprs_high[NUM_GPRS];
} s390_compat_regs_high;

struct compat_timespec {
compat_time_t tv_sec;
s32 tv_nsec;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
*/

#include <asm/ptrace.h>
#include <asm/compat.h>
#include <asm/user.h>

typedef s390_fp_regs elf_fpregset_t;
Expand Down
20 changes: 0 additions & 20 deletions trunk/arch/s390/include/uapi/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ typedef struct
unsigned long addr;
} __attribute__ ((aligned(8))) psw_t;

typedef struct
{
__u32 mask;
__u32 addr;
} __attribute__ ((aligned(8))) psw_compat_t;

#ifndef __s390x__

#define PSW_MASK_PER 0x40000000UL
Expand Down Expand Up @@ -295,20 +289,6 @@ typedef struct
unsigned long orig_gpr2;
} s390_regs;

typedef struct
{
psw_compat_t psw;
__u32 gprs[NUM_GPRS];
__u32 acrs[NUM_ACRS];
__u32 orig_gpr2;
} s390_compat_regs;

typedef struct
{
__u32 gprs_high[NUM_GPRS];
} s390_compat_regs_high;


/*
* Now for the user space program event recording (trace) definitions.
* The following structures are used only for the ptrace interface, don't
Expand Down

0 comments on commit e0bee98

Please sign in to comment.