mmu.h 490 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _ASM_MMU_H
  6. #define _ASM_MMU_H
  7. #include <asm/vdso.h>
  8. /*
  9. * Architecture-specific state for a mm_struct.
  10. * For the Hexagon Virtual Machine, it can be a copy
  11. * of the pointer to the page table base.
  12. */
  13. struct mm_context {
  14. unsigned long long generation;
  15. unsigned long ptbase;
  16. struct hexagon_vdso *vdso;
  17. };
  18. typedef struct mm_context mm_context_t;
  19. #endif