uml: kernel_thread shouldn't panic
[pv_ops_mirror.git] / arch / um / include / skas / mmu-skas.h
blobb26986c0c3d22a1ed1c93dfe2cac32090b8a6daf
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #ifndef __SKAS_MMU_H
7 #define __SKAS_MMU_H
9 #include "mm_id.h"
10 #include "asm/ldt.h"
12 struct mmu_context_skas {
13 struct mm_id id;
14 unsigned long last_page_table;
15 #ifdef CONFIG_3_LEVEL_PGTABLES
16 unsigned long last_pmd;
17 #endif
18 uml_ldt_t ldt;
21 extern void switch_mm_skas(struct mm_id * mm_idp);
23 #endif