summaryrefslogtreecommitdiff
path: root/arch/nios2/include/uapi/asm/elf.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 10:51:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 10:51:53 +0100
commitff85f707ac49ad77b7cf8dcef38e7fcd468ca3d6 (patch)
tree886db57888058d507c6a14000cf4dd2b581311e1 /arch/nios2/include/uapi/asm/elf.h
parente9533ae539d5cc3d5fc501529d2df7b77e20449c (diff)
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff)
Merge 4.0-rc5 into char-misc-next
We want those fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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;