Commit a0e16997 authored by Thomas Gleixner's avatar Thomas Gleixner

microblaze/mm/highmem: Add dropped #ifdef back

The conversion to generic kmap atomic broke microblaze by removing the
build fail.

Add it back.

Fixes: 7ac1b26b ("microblaze/mm/highmem: Switch to generic kmap atomic")
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Michal Simek <monstr@monstr.eu>
parent 1eb0616c
...@@ -49,6 +49,7 @@ unsigned long lowmem_size; ...@@ -49,6 +49,7 @@ unsigned long lowmem_size;
EXPORT_SYMBOL(min_low_pfn); EXPORT_SYMBOL(min_low_pfn);
EXPORT_SYMBOL(max_low_pfn); EXPORT_SYMBOL(max_low_pfn);
#ifdef CONFIG_HIGHMEM
static void __init highmem_init(void) static void __init highmem_init(void)
{ {
pr_debug("%x\n", (u32)PKMAP_BASE); pr_debug("%x\n", (u32)PKMAP_BASE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment