mmu-skas.h 387 B

1234567891011121314151617181920212223
  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 "mm_id.h"
  8. #include "asm/ldt.h"
  9. struct mmu_context_skas {
  10. struct mm_id id;
  11. unsigned long last_page_table;
  12. #ifdef CONFIG_3_LEVEL_PGTABLES
  13. unsigned long last_pmd;
  14. #endif
  15. uml_ldt_t ldt;
  16. };
  17. extern void switch_mm_skas(struct mm_id * mm_idp);
  18. #endif