path: root/arch/arm
diff options
authorRich Felker <>2012-11-25 22:28:18 -0500
committerRich Felker <>2012-11-25 22:28:18 -0500
commit4b75f4ed8d08b26d4bf2ac96191b395218ad888e (patch)
treee2fc90140da04f5e0436bcf069097d63b6a402ef /arch/arm
parent132cc703f82b1d5d308c2db9a353d6c92ea29fda (diff)
make sys/procfs.h mostly work on most archs
these structures are purely for use by trace/debug tools and tools working with core files. the definition of fpregset_t, which was previously here, has been removed because it was wrong; fpregset_t should be the type used in mcontext_t, not the type used in ptrace/core stuff.
Diffstat (limited to 'arch/arm')
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/bits/user.h b/arch/arm/bits/user.h
index d5f1deaa..9df7a9ad 100644
--- a/arch/arm/bits/user.h
+++ b/arch/arm/bits/user.h
@@ -1,4 +1,4 @@
-struct user_fpregs {
+typedef struct user_fpregs {
struct fp_reg {
unsigned sign1:1;
unsigned unused:15;
@@ -12,11 +12,13 @@ struct user_fpregs {
unsigned fpcr:32;
unsigned char ftype[8];
unsigned int init_flag;
+} elf_fpregset_t;
struct user_regs {
unsigned long uregs[18];
+#define ELF_NGREG 18
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
struct user {
struct user_regs regs;