diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-11-26 16:32:25 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-11-26 18:39:35 +0300 |
commit | 05cdf457477d6603b207d91873f0a3d4c7f8c1cd (patch) | |
tree | 187900c636e5c8b9da2fe4344cbc8658ab92541a /arch/microblaze/include/asm/pgalloc.h | |
parent | ed2124c0b9a8d2c09e3b5b9ca9827187c5fcbe71 (diff) | |
download | linux-05cdf457477d6603b207d91873f0a3d4c7f8c1cd.tar.xz |
microblaze: Remove noMMU code
This configuration is obsolete and likely none is really using it. That's
why remove it to simplify code.
Note about CONFIG_MMU in hw_exception_handler.S is left intentionally
for better comment understanding.
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/43486cab370e0c0a79860120b71e0caac75a7e44.1606397528.git.michal.simek@xilinx.com
Diffstat (limited to 'arch/microblaze/include/asm/pgalloc.h')
-rw-r--r-- | arch/microblaze/include/asm/pgalloc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/pgalloc.h b/arch/microblaze/include/asm/pgalloc.h index 8839ce00ea05..d56b9f670ad1 100644 --- a/arch/microblaze/include/asm/pgalloc.h +++ b/arch/microblaze/include/asm/pgalloc.h @@ -8,8 +8,6 @@ #ifndef _ASM_MICROBLAZE_PGALLOC_H #define _ASM_MICROBLAZE_PGALLOC_H -#ifdef CONFIG_MMU - #include <linux/kernel.h> /* For min/max macros */ #include <linux/highmem.h> #include <linux/pgtable.h> @@ -42,6 +40,4 @@ extern pte_t *pte_alloc_one_kernel(struct mm_struct *mm); #define pmd_populate_kernel(mm, pmd, pte) \ (pmd_val(*(pmd)) = (unsigned long) (pte)) -#endif /* CONFIG_MMU */ - #endif /* _ASM_MICROBLAZE_PGALLOC_H */ |