summaryrefslogtreecommitdiff
path: root/arch/cris/include/arch-v10
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-v10
parent835e4177284e1574033dea47d4bb8e55c21b6345 (diff)
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-v10')
-rw-r--r--arch/cris/include/arch-v10/arch/elf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/cris/include/arch-v10/arch/elf.h b/arch/cris/include/arch-v10/arch/elf.h
index 1eb638aeddb4..3ea65cef529d 100644
--- a/arch/cris/include/arch-v10/arch/elf.h
+++ b/arch/cris/include/arch-v10/arch/elf.h
@@ -1,10 +1,11 @@
#ifndef __ASMCRIS_ARCH_ELF_H
#define __ASMCRIS_ARCH_ELF_H
-#include <arch/system.h>
-
#define ELF_MACH EF_CRIS_VARIANT_ANY_V0_V10
+/* Matches struct user_regs_struct */
+#define ELF_NGREG 35
+
/*
* This is used to ensure we don't load something for the wrong architecture.
*/