powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
[linux-2.6-block.git] / arch / powerpc / include / asm / book3s / 64 / hash-64k.h
index 81f4eb6e7da4c0eaa3df776790ce49b2d8587708..0d0191cda0507adc15bb2a937de1806c0421633b 100644 (file)
  */
 #define MAX_EA_BITS_PER_CONTEXT                49
 
+/*
+ * We use one context for each MAP area.
+ */
+#define H_KERN_MAP_SIZE                (1UL << MAX_EA_BITS_PER_CONTEXT)
+
+/*
+ * Define the address range of the kernel non-linear virtual area
+ * 2PB
+ */
+#define H_KERN_VIRT_START      ASM_CONST(0xc008000000000000)
+
 /*
  * 64k aligned address free up few of the lower bits of RPN for us
  * We steal that here. For more deatils look at pte_pfn/pfn_pte()