]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/mmu.h
Merge with ../linux-2.6-smp
[linux-2.6] / include / asm-ppc / mmu.h
index 4a0c67f672c2c8feb3045553fd26de1627c16e7f..d465aee1c82ea6c554b986c9058e71e2af75b01c 100644 (file)
  * virtual/physical addressing like 32-bit virtual / 36-bit
  * physical need a larger than native word size type. -Matt
  */
-#ifndef CONFIG_PTE_64BIT
+#ifndef CONFIG_PHYS_64BIT
 typedef unsigned long phys_addr_t;
+#define PHYS_FMT       "%.8lx"
 #else
 typedef unsigned long long phys_addr_t;
 extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t);
+#define PHYS_FMT       "%16Lx"
 #endif
 
 /* Default "unsigned long" context */