aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/mmu.h')
-rw-r--r--include/asm-sparc64/mmu.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/asm-sparc64/mmu.h b/include/asm-sparc64/mmu.h
index 55e622711b96..473d990848ee 100644
--- a/include/asm-sparc64/mmu.h
+++ b/include/asm-sparc64/mmu.h
@@ -4,6 +4,7 @@
4#include <linux/config.h> 4#include <linux/config.h>
5#include <asm/page.h> 5#include <asm/page.h>
6#include <asm/const.h> 6#include <asm/const.h>
7#include <asm/hypervisor.h>
7 8
8/* 9/*
9 * For the 8k pagesize kernel, use only 10 hw context bits to optimize some 10 * For the 8k pagesize kernel, use only 10 hw context bits to optimize some
@@ -101,13 +102,14 @@ extern void __tsb_insert(unsigned long ent, unsigned long tag, unsigned long pte
101extern void tsb_flush(unsigned long ent, unsigned long tag); 102extern void tsb_flush(unsigned long ent, unsigned long tag);
102 103
103typedef struct { 104typedef struct {
104 unsigned long sparc64_ctx_val; 105 unsigned long sparc64_ctx_val;
105 struct tsb *tsb; 106 struct tsb *tsb;
106 unsigned long tsb_rss_limit; 107 unsigned long tsb_rss_limit;
107 unsigned long tsb_nentries; 108 unsigned long tsb_nentries;
108 unsigned long tsb_reg_val; 109 unsigned long tsb_reg_val;
109 unsigned long tsb_map_vaddr; 110 unsigned long tsb_map_vaddr;
110 unsigned long tsb_map_pte; 111 unsigned long tsb_map_pte;
112 struct hv_tsb_descr tsb_descr;
111} mm_context_t; 113} mm_context_t;
112 114
113#endif /* !__ASSEMBLY__ */ 115#endif /* !__ASSEMBLY__ */