Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_IDMAP_H
0003 #define __ASM_IDMAP_H
0004 
0005 #include <linux/compiler.h>
0006 #include <linux/pgtable.h>
0007 
0008 /* Tag a function as requiring to be executed via an identity mapping. */
0009 #define __idmap __section(".idmap.text") noinline notrace
0010 
0011 extern pgd_t *idmap_pgd;
0012 
0013 void setup_mm_for_reboot(void);
0014 
0015 #endif  /* __ASM_IDMAP_H */