summaryrefslogtreecommitdiff
path: root/arch/nios2/include/uapi/asm/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/uapi/asm/elf.h')
-rw-r--r--arch/nios2/include/uapi/asm/elf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/include/uapi/asm/elf.h b/arch/nios2/include/uapi/asm/elf.h
index a5b91ae5cf56..6f06d3b2949e 100644
--- a/arch/nios2/include/uapi/asm/elf.h
+++ b/arch/nios2/include/uapi/asm/elf.h
@@ -50,9 +50,7 @@
typedef unsigned long elf_greg_t;
-#define ELF_NGREG \
- ((sizeof(struct pt_regs) + sizeof(struct switch_stack)) / \
- sizeof(elf_greg_t))
+#define ELF_NGREG 49
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef unsigned long elf_fpregset_t;