]> err.no Git - linux-2.6/blobdiff - include/asm-ppc64/mmu.h
[PATCH] ppc32: add dcr_base field to ocp_func_mal_data
[linux-2.6] / include / asm-ppc64 / mmu.h
index 959a4bfdcd6a64820e0b0fa9c1181e545c4123d1..ad36bb28de2983c92750a8072195b34cc5db4c5f 100644 (file)
 #define STE_VSID_SHIFT 12
 
 /* Location of cpu0's segment table */
-#define STAB0_PAGE     0x9
+#define STAB0_PAGE     0x6
 #define STAB0_PHYS_ADDR        (STAB0_PAGE<<PAGE_SHIFT)
-#define STAB0_VIRT_ADDR        (KERNELBASE+STAB0_PHYS_ADDR)
+
+#ifndef __ASSEMBLY__
+extern char initial_stab[];
+#endif /* ! __ASSEMBLY */
 
 /*
  * SLB
@@ -304,7 +307,7 @@ typedef unsigned long mm_context_id_t;
 typedef struct {
        mm_context_id_t id;
 #ifdef CONFIG_HUGETLB_PAGE
-       u16 htlb_segs; /* bitmask */
+       u16 low_htlb_areas, high_htlb_areas;
 #endif
 } mm_context_t;