diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-19 20:45:03 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-11-19 20:49:44 +0100 |
commit | a0e169978303ee5873142599c8c9660b2d296243 (patch) | |
tree | bc360eb1b6f0ed9b2f5064d9492f47d5e4b8bee0 | |
parent | xtensa/mm/highmem: Make generic kmap_atomic() work correctly (diff) | |
download | linux-a0e169978303ee5873142599c8c9660b2d296243.tar.xz linux-a0e169978303ee5873142599c8c9660b2d296243.zip |
microblaze/mm/highmem: Add dropped #ifdef back
The conversion to generic kmap atomic broke microblaze by removing the
build fail.
Add it back.
Fixes: 7ac1b26b0a72 ("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>
-rw-r--r-- | arch/microblaze/mm/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index 1f4b5b34e600..a444778e59de 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -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); |