]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/mmu.h
[SPARC64]: Make error codes available from sun4v_intr_get*().
[linux-2.6] / include / asm-sparc64 / mmu.h
index 18f98edfbcda960966d1886b69fcc4128556d1f9..473d990848ee910702de2190396d32e06aa01795 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/config.h>
 #include <asm/page.h>
 #include <asm/const.h>
+#include <asm/hypervisor.h>
 
 /*
  * For the 8k pagesize kernel, use only 10 hw context bits to optimize some
@@ -97,16 +98,18 @@ struct tsb {
        unsigned long pte;
 } __attribute__((aligned(TSB_ENTRY_ALIGNMENT)));
 
-extern void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long pte);
+extern void __tsb_insert(unsigned long ent, unsigned long tag, unsigned long pte);
+extern void tsb_flush(unsigned long ent, unsigned long tag);
 
 typedef struct {
-       unsigned long   sparc64_ctx_val;
-       struct tsb      *tsb;
-       unsigned long   tsb_rss_limit;
-       unsigned long   tsb_nentries;
-       unsigned long   tsb_reg_val;
-       unsigned long   tsb_map_vaddr;
-       unsigned long   tsb_map_pte;
+       unsigned long           sparc64_ctx_val;
+       struct tsb              *tsb;
+       unsigned long           tsb_rss_limit;
+       unsigned long           tsb_nentries;
+       unsigned long           tsb_reg_val;
+       unsigned long           tsb_map_vaddr;
+       unsigned long           tsb_map_pte;
+       struct hv_tsb_descr     tsb_descr;
 } mm_context_t;
 
 #endif /* !__ASSEMBLY__ */