blob: 061838037542992e544998d0e7adf7ef07980002 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Arnd Bergmann5c01b462009-05-13 22:56:36 +00002#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__
10typedef struct {
Arnd Bergmann5c01b462009-05-13 22:56:36 +000011 unsigned long end_brk;
Lars-Peter Clausen9d2951b2012-12-01 14:24:41 +010012
13#ifdef CONFIG_BINFMT_ELF_FDPIC
14 unsigned long exec_fdpic_loadmap;
15 unsigned long interp_fdpic_loadmap;
16#endif
Arnd Bergmann5c01b462009-05-13 22:56:36 +000017} mm_context_t;
18#endif
19
20#endif /* __ASM_GENERIC_MMU_H */