Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335559
b: refs/heads/master
c: 6ba1bc8
h: refs/heads/master
i:
  335557: 97cf04c
  335555: 991b061
  335551: 4774673
v: v3
  • Loading branch information
Will Deacon authored and Catalin Marinas committed Nov 8, 2012
1 parent e19a600 commit 85564e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 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: f46f979fdac402c1a3decf420b82397cd93236b5
refs/heads/master: 6ba1bc826d160fe4f32bcb188687dcca4bdfaf3d
5 changes: 1 addition & 4 deletions trunk/arch/arm64/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@
#include <asm/user.h>

typedef unsigned long elf_greg_t;
typedef unsigned long elf_freg_t[3];

#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];

typedef struct user_fp elf_fpregset_t;
typedef struct user_fpsimd_state elf_fpregset_t;

#define EM_AARCH64 183

Expand Down Expand Up @@ -87,7 +85,6 @@ typedef struct user_fp elf_fpregset_t;
#define R_AARCH64_MOVW_PREL_G2_NC 292
#define R_AARCH64_MOVW_PREL_G3 293


/*
* These are used to set parameters in the core dumps.
*/
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/arm64/include/asm/fpsimd.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* - FPSR and FPCR
* - 32 128-bit data registers
*
* Note that user_fp forms a prefix of this structure, which is relied
* upon in the ptrace FP/SIMD accessors. struct user_fpsimd_state must
* form a prefix of struct fpsimd_state.
* Note that user_fpsimd forms a prefix of this structure, which is
* relied upon in the ptrace FP/SIMD accessors.
*/
struct fpsimd_state {
union {
Expand Down
18 changes: 0 additions & 18 deletions trunk/arch/arm64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,24 +309,6 @@ struct task_struct *__switch_to(struct task_struct *prev,
return last;
}

/*
* Fill in the task's elfregs structure for a core dump.
*/
int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs)
{
elf_core_copy_regs(elfregs, task_pt_regs(t));
return 1;
}

/*
* fill in the fpe structure for a core dump...
*/
int dump_fpu (struct pt_regs *regs, struct user_fp *fp)
{
return 0;
}
EXPORT_SYMBOL(dump_fpu);

/*
* Shuffle the argument into the correct register before calling the
* thread function. x1 is the thread argument, x2 is the pointer to
Expand Down

0 comments on commit 85564e7

Please sign in to comment.