18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_GENERIC_MMU_H
38c2ecf20Sopenharmony_ci#define __ASM_GENERIC_MMU_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * This is the mmu.h header for nommu implementations.
78c2ecf20Sopenharmony_ci * Architectures with an MMU need something more complex.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__
108c2ecf20Sopenharmony_citypedef struct {
118c2ecf20Sopenharmony_ci	unsigned long		end_brk;
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#ifdef CONFIG_BINFMT_ELF_FDPIC
148c2ecf20Sopenharmony_ci	unsigned long		exec_fdpic_loadmap;
158c2ecf20Sopenharmony_ci	unsigned long		interp_fdpic_loadmap;
168c2ecf20Sopenharmony_ci#endif
178c2ecf20Sopenharmony_ci} mm_context_t;
188c2ecf20Sopenharmony_ci#endif
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif /* __ASM_GENERIC_MMU_H */
21