mmu-skas.h 413 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __SKAS_MMU_H
  6. #define __SKAS_MMU_H
  7. #include "linux/config.h"
  8. #include "mm_id.h"
  9. #include "asm/ldt.h"
  10. struct mmu_context_skas {
  11. struct mm_id id;
  12. unsigned long last_page_table;
  13. #ifdef CONFIG_3_LEVEL_PGTABLES
  14. unsigned long last_pmd;
  15. #endif
  16. uml_ldt_t ldt;
  17. };
  18. extern void switch_mm_skas(struct mm_id * mm_idp);
  19. #endif