projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c0d80
)
microblaze: Do not use tlb_skip in early_printk
author
Michal Simek
<monstr@monstr.eu>
Mon, 2 Apr 2012 10:50:54 +0000
(12:50 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Mon, 2 Apr 2012 11:00:22 +0000
(13:00 +0200)
tlb_skip is valid only for MMU system.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/early_printk.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/early_printk.c
b/arch/microblaze/kernel/early_printk.c
index ec485876d0d0ec3ca14b005325320fd5c154eb59..aba1f9a97d5d38aa64f31f4965be988ab1d597f7 100644
(file)
--- a/
arch/microblaze/kernel/early_printk.c
+++ b/
arch/microblaze/kernel/early_printk.c
@@
-176,6
+176,7
@@
void __init remap_early_printk(void)
base_addr = (u32) ioremap(base_addr, PAGE_SIZE);
printk(KERN_CONT "0x%x\n", base_addr);
+#ifdef CONFIG_MMU
/*
* Early console is on the top of skipped TLB entries
* decrease tlb_skip size ensure that hardcoded TLB entry will be
@@
-189,6
+190,7
@@
void __init remap_early_printk(void)
* cmp rX, orig_base_addr
*/
tlb_skip -= 1;
+#endif
}
void __init disable_early_printk(void)