+ hexagon-drop-empty-and-unused-free_initrd_mem.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: hexagon: drop empty and unused free_initrd_mem
has been added to the -mm tree.  Its filename is
     hexagon-drop-empty-and-unused-free_initrd_mem.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/hexagon-drop-empty-and-unused-free_initrd_mem.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/hexagon-drop-empty-and-unused-free_initrd_mem.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: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Subject: hexagon: drop empty and unused free_initrd_mem

hexagon never reserves or initializes initrd and the only mention of it is
the empty free_initrd_mem() function.

As we have a generic implementation of free_initrd_mem(), there is no need
to define an empty stub for the hexagon implementation and it can be
dropped.

Link: http://lkml.kernel.org/r/1565858133-25852-1-git-send-email-rppt@xxxxxxxxxxxxx
Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Cc: Richard Kuo <rkuo@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/hexagon/mm/init.c |   13 -------------
 1 file changed, 13 deletions(-)

--- a/arch/hexagon/mm/init.c~hexagon-drop-empty-and-unused-free_initrd_mem
+++ a/arch/hexagon/mm/init.c
@@ -71,19 +71,6 @@ void __init mem_init(void)
 	init_mm.context.ptbase = __pa(init_mm.pgd);
 }
 
-/*
- * free_initrd_mem - frees...  initrd memory.
- * @start - start of init memory
- * @end - end of init memory
- *
- * Apparently has to be passed the address of the initrd memory.
- *
- * Wrapped by #ifdef CONFIG_BLKDEV_INITRD
- */
-void free_initrd_mem(unsigned long start, unsigned long end)
-{
-}
-
 void sync_icache_dcache(pte_t pte)
 {
 	unsigned long addr;
_

Patches currently in -mm which might be from rppt@xxxxxxxxxxxxx are

ia64-switch-to-generic-version-of-pte-allocation.patch
sh-switch-to-generic-version-of-pte-allocation.patch
microblaze-switch-to-generic-version-of-pte-allocation.patch
mm-use-cpu_bits_none-to-initialize-init_mmcpu_bitmask.patch
mm-madvise-reduce-code-duplication-in-error-handling-paths.patch
hexagon-drop-empty-and-unused-free_initrd_mem.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux