diff options
Diffstat (limited to 'include/asm-ppc/mmu.h')
-rw-r--r-- | include/asm-ppc/mmu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index 4a0c67f672c2..d465aee1c82e 100644 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h | |||
@@ -15,11 +15,13 @@ | |||
15 | * virtual/physical addressing like 32-bit virtual / 36-bit | 15 | * virtual/physical addressing like 32-bit virtual / 36-bit |
16 | * physical need a larger than native word size type. -Matt | 16 | * physical need a larger than native word size type. -Matt |
17 | */ | 17 | */ |
18 | #ifndef CONFIG_PTE_64BIT | 18 | #ifndef CONFIG_PHYS_64BIT |
19 | typedef unsigned long phys_addr_t; | 19 | typedef unsigned long phys_addr_t; |
20 | #define PHYS_FMT "%.8lx" | ||
20 | #else | 21 | #else |
21 | typedef unsigned long long phys_addr_t; | 22 | typedef unsigned long long phys_addr_t; |
22 | extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t); | 23 | extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t); |
24 | #define PHYS_FMT "%16Lx" | ||
23 | #endif | 25 | #endif |
24 | 26 | ||
25 | /* Default "unsigned long" context */ | 27 | /* Default "unsigned long" context */ |