diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-12-01 08:24:41 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-12-09 17:14:14 -0500 |
commit | 9d2951bcd96ff2d5a88022ad3b4aebd6357d65d7 (patch) | |
tree | 1f4ecaf456314356c55f4290dec0affb432fa31e /include | |
parent | 20154fd3706d603216f462854862203d231c6086 (diff) |
asm-generic/mmu.h: Add support for FDPIC
No-MMU architectures often have support for FDPIC binaries. FDPIC support
requires two additional fields in the mm_context_t struct. This patch adds these
fields to the generic mm_context_t definition if support for FDPIC binaries is
enabled. This allows to use the generic mmu.h for a few more architectures.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/mmu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/mmu.h b/include/asm-generic/mmu.h index a67ae0a91599..0ed3f1cfb854 100644 --- a/include/asm-generic/mmu.h +++ b/include/asm-generic/mmu.h | |||
@@ -8,6 +8,11 @@ | |||
8 | #ifndef __ASSEMBLY__ | 8 | #ifndef __ASSEMBLY__ |
9 | typedef struct { | 9 | typedef struct { |
10 | unsigned long end_brk; | 10 | unsigned long end_brk; |
11 | |||
12 | #ifdef CONFIG_BINFMT_ELF_FDPIC | ||
13 | unsigned long exec_fdpic_loadmap; | ||
14 | unsigned long interp_fdpic_loadmap; | ||
15 | #endif | ||
11 | } mm_context_t; | 16 | } mm_context_t; |
12 | #endif | 17 | #endif |
13 | 18 | ||