aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/arch-v32/arch/elf.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-05-14 17:00:58 +0200
committerJesper Nilsson <jespern@axis.com>2015-09-05 00:33:25 +0200
commit3a79a075375cebb672ddaea7896378afa0203e87 (patch)
tree1fd8e7b74a32fcb659a045d7572b3f967643bef0 /arch/cris/include/arch-v32/arch/elf.h
parentCRIS: UAPI: fix ptrace.h (diff)
downloadlinux-dev-3a79a075375cebb672ddaea7896378afa0203e87.tar.xz
linux-dev-3a79a075375cebb672ddaea7896378afa0203e87.zip
CRIS: don't make asm/elf.h depend on asm/user.h
We're going to export asm/elf.h; remove its dependencies on the non-exported asm/user.h and the unused asm/system.h include. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/include/arch-v32/arch/elf.h')
-rw-r--r--arch/cris/include/arch-v32/arch/elf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/cris/include/arch-v32/arch/elf.h b/arch/cris/include/arch-v32/arch/elf.h
index c46d58291166..f09fe49005c0 100644
--- a/arch/cris/include/arch-v32/arch/elf.h
+++ b/arch/cris/include/arch-v32/arch/elf.h
@@ -1,10 +1,11 @@
#ifndef _ASM_CRIS_ELF_H
#define _ASM_CRIS_ELF_H
-#include <arch/system.h>
-
#define ELF_CORE_EFLAGS EF_CRIS_VARIANT_V32
+/* Matches struct user_regs_struct */
+#define ELF_NGREG 32
+
/*
* This is used to ensure we don't load something for the wrong architecture.
*/