* [PATCH v4 15/16] sh: Use generic free_initrd_mem. [not found] ` <20180328203659.18692-1-shea@shealevy.com> @ 2018-03-28 20:36 ` Shea Levy [not found] ` <20180329113207.30674-1-shea@shealevy.com> 1 sibling, 0 replies; 4+ messages in thread From: Shea Levy @ 2018-03-28 20:36 UTC (permalink / raw) To: linux-riscv Signed-off-by: Shea Levy <shea@shealevy.com> --- arch/sh/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index ce0bbaa7e404..7451459d0725 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -477,13 +477,6 @@ void free_initmem(void) free_initmem_default(-1); } -#ifdef CONFIG_BLK_DEV_INITRD -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - #ifdef CONFIG_MEMORY_HOTPLUG int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock) -- 2.16.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <20180329113207.30674-1-shea@shealevy.com>]
* [PATCH v5 15/16] sh: Switch to generic free_initrd_mem. [not found] ` <20180329113207.30674-1-shea@shealevy.com> @ 2018-03-29 11:32 ` Shea Levy 2018-03-29 16:26 ` Rich Felker [not found] ` <20180401145931.7932-1-shea@shealevy.com> 1 sibling, 1 reply; 4+ messages in thread From: Shea Levy @ 2018-03-29 11:32 UTC (permalink / raw) To: linux-riscv The generic implementation is functionally identical. Signed-off-by: Shea Levy <shea@shealevy.com> --- arch/sh/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index ce0bbaa7e404..7451459d0725 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -477,13 +477,6 @@ void free_initmem(void) free_initmem_default(-1); } -#ifdef CONFIG_BLK_DEV_INITRD -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - #ifdef CONFIG_MEMORY_HOTPLUG int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock) -- 2.16.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v5 15/16] sh: Switch to generic free_initrd_mem. 2018-03-29 11:32 ` [PATCH v5 15/16] sh: Switch to " Shea Levy @ 2018-03-29 16:26 ` Rich Felker 0 siblings, 0 replies; 4+ messages in thread From: Rich Felker @ 2018-03-29 16:26 UTC (permalink / raw) To: linux-riscv On Thu, Mar 29, 2018 at 07:32:06AM -0400, Shea Levy wrote: > The generic implementation is functionally identical. > > Signed-off-by: Shea Levy <shea@shealevy.com> > --- > arch/sh/mm/init.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c > index ce0bbaa7e404..7451459d0725 100644 > --- a/arch/sh/mm/init.c > +++ b/arch/sh/mm/init.c > @@ -477,13 +477,6 @@ void free_initmem(void) > free_initmem_default(-1); > } > > -#ifdef CONFIG_BLK_DEV_INITRD > -void free_initrd_mem(unsigned long start, unsigned long end) > -{ > - free_reserved_area((void *)start, (void *)end, -1, "initrd"); > -} > -#endif > - > #ifdef CONFIG_MEMORY_HOTPLUG > int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, > bool want_memblock) > -- > 2.16.2 LGTM. Acked-by: Rich Felker <dalias@libc.org> ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20180401145931.7932-1-shea@shealevy.com>]
* [PATCH v6 15/16] sh: Switch to generic free_initrd_mem. [not found] ` <20180401145931.7932-1-shea@shealevy.com> @ 2018-04-01 14:59 ` Shea Levy 0 siblings, 0 replies; 4+ messages in thread From: Shea Levy @ 2018-04-01 14:59 UTC (permalink / raw) To: linux-riscv The first patch in this series added a weakly-defined generic implementation, which is functionally identical to the architecture-specific one removed here. Series boot-tested on RISC-V (which now uses the generic implementation) and x86_64 (which doesn't). Acked-by: Rich Felker <dalias@libc.org> Signed-off-by: Shea Levy <shea@shealevy.com> --- arch/sh/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index ce0bbaa7e404..7451459d0725 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -477,13 +477,6 @@ void free_initmem(void) free_initmem_default(-1); } -#ifdef CONFIG_BLK_DEV_INITRD -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - #ifdef CONFIG_MEMORY_HOTPLUG int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock) -- 2.16.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-04-01 14:59 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20180328152714.6103-1-shea@shealevy.com> [not found] ` <20180328203659.18692-1-shea@shealevy.com> 2018-03-28 20:36 ` [PATCH v4 15/16] sh: Use generic free_initrd_mem Shea Levy [not found] ` <20180329113207.30674-1-shea@shealevy.com> 2018-03-29 11:32 ` [PATCH v5 15/16] sh: Switch to " Shea Levy 2018-03-29 16:26 ` Rich Felker [not found] ` <20180401145931.7932-1-shea@shealevy.com> 2018-04-01 14:59 ` [PATCH v6 " Shea Levy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).