diff options
-rw-r--r-- | arch/arm/mach-msm/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index adc8971c7266..34e09474636d 100644 --- a/arch/arm/mach-msm/io.c +++ b/arch/arm/mach-msm/io.c | |||
@@ -78,8 +78,10 @@ void __init msm_map_common_io(void) | |||
78 | asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0)); | 78 | asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0)); |
79 | #if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \ | 79 | #if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \ |
80 | defined(CONFIG_DEBUG_MSM_UART3) | 80 | defined(CONFIG_DEBUG_MSM_UART3) |
81 | #ifdef CONFIG_MMU | ||
81 | debug_ll_addr(&msm_io_desc[size - 1].pfn, | 82 | debug_ll_addr(&msm_io_desc[size - 1].pfn, |
82 | &msm_io_desc[size - 1].virtual); | 83 | &msm_io_desc[size - 1].virtual); |
84 | #endif | ||
83 | msm_io_desc[size - 1].pfn = __phys_to_pfn(msm_io_desc[size - 1].pfn); | 85 | msm_io_desc[size - 1].pfn = __phys_to_pfn(msm_io_desc[size - 1].pfn); |
84 | #endif | 86 | #endif |
85 | iotable_init(msm_io_desc, size); | 87 | iotable_init(msm_io_desc, size); |