summaryrefslogtreecommitdiff
path: root/arch/arc/include/uapi/asm/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/uapi/asm/elf.h')
-rw-r--r--arch/arc/include/uapi/asm/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/uapi/asm/elf.h b/arch/arc/include/uapi/asm/elf.h
index 0037a587320d..06d95e611616 100644
--- a/arch/arc/include/uapi/asm/elf.h
+++ b/arch/arc/include/uapi/asm/elf.h
@@ -27,6 +27,7 @@ typedef unsigned long elf_greg_t;
typedef unsigned long elf_fpregset_t;
#define ELF_NGREG (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))
+#define ELF_ARCV2REG (sizeof(struct user_regs_arcv2) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];