idmap.h 359 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_IDMAP_H
  3. #define __ASM_IDMAP_H
  4. #include <linux/compiler.h>
  5. #include <linux/pgtable.h>
  6. /* Tag a function as requiring to be executed via an identity mapping. */
  7. #define __idmap __section(".idmap.text") noinline notrace
  8. extern pgd_t *idmap_pgd;
  9. void setup_mm_for_reboot(void);
  10. #endif /* __ASM_IDMAP_H */