diff options
-rw-r--r-- | arch/microblaze/kernel/early_printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/early_printk.c b/arch/microblaze/kernel/early_printk.c index ec485876d0d0..aba1f9a97d5d 100644 --- a/arch/microblaze/kernel/early_printk.c +++ b/arch/microblaze/kernel/early_printk.c | |||
@@ -176,6 +176,7 @@ void __init remap_early_printk(void) | |||
176 | base_addr = (u32) ioremap(base_addr, PAGE_SIZE); | 176 | base_addr = (u32) ioremap(base_addr, PAGE_SIZE); |
177 | printk(KERN_CONT "0x%x\n", base_addr); | 177 | printk(KERN_CONT "0x%x\n", base_addr); |
178 | 178 | ||
179 | #ifdef CONFIG_MMU | ||
179 | /* | 180 | /* |
180 | * Early console is on the top of skipped TLB entries | 181 | * Early console is on the top of skipped TLB entries |
181 | * decrease tlb_skip size ensure that hardcoded TLB entry will be | 182 | * decrease tlb_skip size ensure that hardcoded TLB entry will be |
@@ -189,6 +190,7 @@ void __init remap_early_printk(void) | |||
189 | * cmp rX, orig_base_addr | 190 | * cmp rX, orig_base_addr |
190 | */ | 191 | */ |
191 | tlb_skip -= 1; | 192 | tlb_skip -= 1; |
193 | #endif | ||
192 | } | 194 | } |
193 | 195 | ||
194 | void __init disable_early_printk(void) | 196 | void __init disable_early_printk(void) |