mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
Remove all traces of Stage-2 and HYP page table support. Signed-off-by: Marc Zyngier <[email protected]> Acked-by: Olof Johansson <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Will Deacon <[email protected]> Acked-by: Vladimir Murzin <[email protected]> Acked-by: Catalin Marinas <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Christoffer Dall <[email protected]>
27 lines
622 B
C
27 lines
622 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_ARM_SECTIONS_H
|
|
#define _ASM_ARM_SECTIONS_H
|
|
|
|
#include <asm-generic/sections.h>
|
|
|
|
extern char _exiprom[];
|
|
|
|
extern char __idmap_text_start[];
|
|
extern char __idmap_text_end[];
|
|
extern char __entry_text_start[];
|
|
extern char __entry_text_end[];
|
|
|
|
static inline bool in_entry_text(unsigned long addr)
|
|
{
|
|
return memory_contains(__entry_text_start, __entry_text_end,
|
|
(void *)addr, 1);
|
|
}
|
|
|
|
static inline bool in_idmap_text(unsigned long addr)
|
|
{
|
|
void *a = (void *)addr;
|
|
return memory_contains(__idmap_text_start, __idmap_text_end, a, 1);
|
|
}
|
|
|
|
#endif /* _ASM_ARM_SECTIONS_H */
|