1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_ARM_SECTIONS_H 3 #define _ASM_ARM_SECTIONS_H 4 5 #include <asm-generic/sections.h> 6 7 extern char _exiprom[]; 8 9 extern char __idmap_text_start[]; 10 extern char __idmap_text_end[]; 11 extern char __entry_text_start[]; 12 extern char __entry_text_end[]; 13 14 static inline bool in_entry_text(unsigned long 15 { 16 return memory_contains(__entry_text_st 17 (void *)addr, 1 18 } 19 20 static inline bool in_idmap_text(unsigned long 21 { 22 void *a = (void *)addr; 23 return memory_contains(__idmap_text_st 24 } 25 26 #endif /* _ASM_ARM_SECTIONS_H */ 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.