* + mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch added to -mm tree
@ 2021-09-02 1:45 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-09-02 1:45 UTC (permalink / raw)
To: arnd, david, mm-commits, o451686892
The patch titled
Subject: mm/early_ioremap.c: remove redundant early_ioremap_shutdown()
has been added to the -mm tree. Its filename is
mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Weizhao Ouyang <o451686892@gmail.com>
Subject: 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>
---
include/asm-generic/early_ioremap.h | 6 ------
mm/early_ioremap.c | 5 -----
2 files changed, 11 deletions(-)
--- a/include/asm-generic/early_ioremap.h~mm-early_ioremapc-remove-redundant-early_ioremap_shutdown
+++ a/include/asm-generic/early_ioremap.h
@@ -19,12 +19,6 @@ extern void *early_memremap_prot(resourc
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);
--- a/mm/early_ioremap.c~mm-early_ioremapc-remove-redundant-early_ioremap_shutdown
+++ a/mm/early_ioremap.c
@@ -38,13 +38,8 @@ pgprot_t __init __weak early_memremap_pg
return prot;
}
-void __init __weak early_ioremap_shutdown(void)
-{
-}
-
void __init early_ioremap_reset(void)
{
- early_ioremap_shutdown();
after_paging_init = 1;
}
_
Patches currently in -mm which might be from o451686892@gmail.com are
mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-02 1:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 1:45 + mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.