mmu-skas.h 794 B

1234567891011121314151617181920212223242526272829303132333435
  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
  20. /*
  21. * Overrides for Emacs so that we follow Linus's tabbing style.
  22. * Emacs will notice this stuff at the end of the file and automatically
  23. * adjust the settings for this buffer only. This must remain at the end
  24. * of the file.
  25. * ---------------------------------------------------------------------------
  26. * Local variables:
  27. * c-file-style: "linux"
  28. * End:
  29. */