Skip to content

Commit

Permalink
microblaze/mm/highmem: Add dropped #ifdef back
Browse files Browse the repository at this point in the history
The conversion to generic kmap atomic broke microblaze by removing the
build fail.

Add it back.

Fixes: 7ac1b26 ("microblaze/mm/highmem: Switch to generic kmap atomic")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Thomas Gleixner committed Nov 19, 2020
1 parent 1eb0616 commit a0e1699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ unsigned long lowmem_size;
EXPORT_SYMBOL(min_low_pfn);
EXPORT_SYMBOL(max_low_pfn);

#ifdef CONFIG_HIGHMEM
static void __init highmem_init(void)
{
pr_debug("%x\n", (u32)PKMAP_BASE);
Expand Down

0 comments on commit a0e1699

Please sign in to comment.