lkml.org 
[lkml]   [2018]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 14/16] powerpc: Use INITRAMFS_GENERIC_UNLOAD
    Date
    Signed-off-by: Shea Levy <shea@shealevy.com>
    ---
    arch/powerpc/Kconfig | 1 +
    arch/powerpc/mm/mem.c | 7 -------
    2 files changed, 1 insertion(+), 7 deletions(-)

    diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
    index 73ce5dd07642..8cf384068e79 100644
    --- a/arch/powerpc/Kconfig
    +++ b/arch/powerpc/Kconfig
    @@ -223,6 +223,7 @@ config PPC
    select HAVE_SYSCALL_TRACEPOINTS
    select HAVE_VIRT_CPU_ACCOUNTING
    select HAVE_IRQ_TIME_ACCOUNTING
    + select INITRAMFS_GENERIC_UNLOAD
    select IRQ_DOMAIN
    select IRQ_FORCED_THREADING
    select MODULES_USE_ELF_RELA
    diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
    index fe8c61149fb8..e85b2a3cd264 100644
    --- a/arch/powerpc/mm/mem.c
    +++ b/arch/powerpc/mm/mem.c
    @@ -404,13 +404,6 @@ void free_initmem(void)
    free_initmem_default(POISON_FREE_INITMEM);
    }

    -#ifdef CONFIG_BLK_DEV_INITRD
    -void __init free_initrd_mem(unsigned long start, unsigned long end)
    -{
    - free_reserved_area((void *)start, (void *)end, -1, "initrd");
    -}
    -#endif
    -
    /*
    * This is called when a page has been modified by the kernel.
    * It just marks the page as not i-cache clean. We do the i-cache
    --
    2.16.2
    \
     
     \ /
      Last update: 2018-03-26 00:23    [W:2.558 / U:0.720 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site