Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnd Bergmann | 5c01b46 | 2009-05-13 22:56:36 +0000 | [diff] [blame] | 2 | #ifndef __ASM_GENERIC_MMU_H |
| 3 | #define __ASM_GENERIC_MMU_H |
| 4 | |
| 5 | /* |
| 6 | * This is the mmu.h header for nommu implementations. |
| 7 | * Architectures with an MMU need something more complex. |
| 8 | */ |
| 9 | #ifndef __ASSEMBLY__ |
| 10 | typedef struct { |
Arnd Bergmann | 5c01b46 | 2009-05-13 22:56:36 +0000 | [diff] [blame] | 11 | unsigned long end_brk; |
Lars-Peter Clausen | 9d2951b | 2012-12-01 14:24:41 +0100 | [diff] [blame] | 12 | |
| 13 | #ifdef CONFIG_BINFMT_ELF_FDPIC |
| 14 | unsigned long exec_fdpic_loadmap; |
| 15 | unsigned long interp_fdpic_loadmap; |
| 16 | #endif |
Arnd Bergmann | 5c01b46 | 2009-05-13 22:56:36 +0000 | [diff] [blame] | 17 | } mm_context_t; |
| 18 | #endif |
| 19 | |
| 20 | #endif /* __ASM_GENERIC_MMU_H */ |