Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
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__
10typedef struct {
11 unsigned long end_brk;
12
13#ifdef CONFIG_BINFMT_ELF_FDPIC
14 unsigned long exec_fdpic_loadmap;
15 unsigned long interp_fdpic_loadmap;
16#endif
17} mm_context_t;
18#endif
19
20#endif /* __ASM_GENERIC_MMU_H */
1#ifndef __ASM_GENERIC_MMU_H
2#define __ASM_GENERIC_MMU_H
3
4/*
5 * This is the mmu.h header for nommu implementations.
6 * Architectures with an MMU need something more complex.
7 */
8#ifndef __ASSEMBLY__
9typedef struct {
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
16} mm_context_t;
17#endif
18
19#endif /* __ASM_GENERIC_MMU_H */