Skip to contentSkip to conversation

microblaze: add missing CONFIG_ prefixes

PATCH In review Paul Bolle 3 participants 3 messages Oct 12, 2011 – Oct 13, 2011 Microblaze architecture

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 microblaze: add missing CONFIG_ prefixes

---
Entirely untested. Somehow, I don't feel too bad about that. Added the maintainer and the mailinglist because this could change the behavior of this code.

 arch/microblaze/mm/init.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/microblaze/mm/init.c +3 -3
index 213f2d6..36a133e 100644
@@ -304,11 +304,11 @@ asmlinkage void __init mmu_init(void)
 	/* Map in all of RAM starting at CONFIG_KERNEL_START */
 	mapin_ram();
 
-#ifdef HIGHMEM_START_BOOL
-	ioremap_base = HIGHMEM_START;
+#ifdef CONFIG_HIGHMEM_START_BOOL
+	ioremap_base = CONFIG_HIGHMEM_START;
 #else
 	ioremap_base = 0xfe000000UL;	/* for now, could be 0xfffff000 */
-#endif /* CONFIG_HIGHMEM */
+#endif /* CONFIG_HIGHMEM_START_BOOL */
 	ioremap_bot = ioremap_base;
 
 	/* Initialize the context management stuff */
Signature · 1 line
1.7.4.4
#1 lore raw
Quoted 5 lines · Paul Bolle

---
Entirely untested. Somehow, I don't feel too bad about that. Added the maintainer and the mailinglist because this could change the behavior of this code.

Yes, this might make so-far unexcercised codepaths to appear, so I'd like to have maintainer's Ack before applying it. I don't have microblaze cross-compiling setup.

Thanks,

Quoted 28 lines
 arch/microblaze/mm/init.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/microblaze/mm/init.c +3 -3
index 213f2d6..36a133e 100644
@@ -304,11 +304,11 @@ asmlinkage void __init mmu_init(void)
 	/* Map in all of RAM starting at CONFIG_KERNEL_START */
 	mapin_ram();
 
-#ifdef HIGHMEM_START_BOOL
-	ioremap_base = HIGHMEM_START;
+#ifdef CONFIG_HIGHMEM_START_BOOL
+	ioremap_base = CONFIG_HIGHMEM_START;
 #else
 	ioremap_base = 0xfe000000UL;	/* for now, could be 0xfffff000 */
-#endif /* CONFIG_HIGHMEM */
+#endif /* CONFIG_HIGHMEM_START_BOOL */
 	ioremap_bot = ioremap_base;
 
 	/* Initialize the context management stuff */
Signature · 1 line
1.7.4.4
Signature · 2 lines
Jiri Kosina
SUSE Labs
maintainer Acked-by
#2 lore raw
Quoted 11 lines · Jiri Kosina
Quoted 5 lines · Paul Bolle

---
Entirely untested. Somehow, I don't feel too bad about that. Added the maintainer and the mailinglist because this could change the behavior of this code.

Yes, this might make so-far unexcercised codepaths to appear, so I'd like to have maintainer's Ack before applying it. I don't have microblaze cross-compiling setup.

Thanks,

Here it is:

Michal

Signature · 4 lines
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian