summaryrefslogtreecommitdiff
path: root/arch/um/kernel/skas/include/mmu-skas.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/skas/include/mmu-skas.h')
-rw-r--r--arch/um/kernel/skas/include/mmu-skas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/kernel/skas/include/mmu-skas.h b/arch/um/kernel/skas/include/mmu-skas.h
index 278b72f1d9ad..09536f81ee42 100644
--- a/arch/um/kernel/skas/include/mmu-skas.h
+++ b/arch/um/kernel/skas/include/mmu-skas.h
@@ -6,11 +6,15 @@
#ifndef __SKAS_MMU_H
#define __SKAS_MMU_H
+#include "linux/config.h"
#include "mm_id.h"
struct mmu_context_skas {
struct mm_id id;
unsigned long last_page_table;
+#ifdef CONFIG_3_LEVEL_PGTABLES
+ unsigned long last_pmd;
+#endif
};
extern void switch_mm_skas(struct mm_id * mm_idp);