aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf.h b/elf.h
index f9108c5364..03f98a348c 100644
--- a/elf.h
+++ b/elf.h
@@ -6,7 +6,7 @@
typedef uint32_t elf_greg_t;
-#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
+#define ELF_NGREG (sizeof (struct target_pt_regs) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef struct user_i387_struct elf_fpregset_t;