summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/early_ioremap.h
diff options
context:
space:
mode:
authorWeizhao Ouyang <o451686892@gmail.com>2021-09-08 04:56:06 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 20:50:24 +0200
commit395519b4b6e82741f29aaf6defa66cbdf3466584 (patch)
tree374cc2ed7e3ef66d66254a75f7912069e5c31c47 /include/asm-generic/early_ioremap.h
parentmm: don't allow executable ioremap mappings (diff)
downloadlinux-395519b4b6e82741f29aaf6defa66cbdf3466584.tar.xz
linux-395519b4b6e82741f29aaf6defa66cbdf3466584.zip
mm/early_ioremap.c: remove redundant early_ioremap_shutdown()
early_ioremap_reset() reserved a weak function so that architectures can provide a specific cleanup. Now no architectures use it, remove this redundant function. Link: https://lkml.kernel.org/r/20210901082917.399953-1-o451686892@gmail.com Signed-off-by: Weizhao Ouyang <o451686892@gmail.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/early_ioremap.h')
-rw-r--r--include/asm-generic/early_ioremap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-generic/early_ioremap.h b/include/asm-generic/early_ioremap.h
index 9def22e6e2b3..9d0479f50f97 100644
--- a/include/asm-generic/early_ioremap.h
+++ b/include/asm-generic/early_ioremap.h
@@ -19,12 +19,6 @@ extern void *early_memremap_prot(resource_size_t phys_addr,
extern void early_iounmap(void __iomem *addr, unsigned long size);
extern void early_memunmap(void *addr, unsigned long size);
-/*
- * Weak function called by early_ioremap_reset(). It does nothing, but
- * architectures may provide their own version to do any needed cleanups.
- */
-extern void early_ioremap_shutdown(void);
-
#if defined(CONFIG_GENERIC_EARLY_IOREMAP) && defined(CONFIG_MMU)
/* Arch-specific initialization */
extern void early_ioremap_init(void);