linux_dsm_epyc7002/arch/nds32/mm
Mike Rapoport 997aef68af init: provide a generic free_initmem implementation
Patch series "provide a generic free_initmem implementation", v2.

Many architectures implement free_initmem() in exactly the same or very
similar way: they wrap the call to free_initmem_default() with sometimes
different 'poison' parameter.

These patches switch those architectures to use a generic implementation
that does free_initmem_default(POISON_FREE_INITMEM).

This was inspired by Christoph's patches for free_initrd_mem [1] and I
shamelessly copied changelog entries from his patches :)

[1] https://lore.kernel.org/lkml/20190213174621.29297-1-hch@lst.de/

This patch (of 2):

For most architectures free_initmem just a wrapper for the same
free_initmem_default(-1) call.  Provide that as a generic implementation
marked __weak.

Link: http://lkml.kernel.org/r/1550515285-17446-2-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 09:47:47 -07:00
..
alignment.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
cacheflush.c nds32: To simplify the implementation of update_mmu_cache() 2018-07-03 14:18:17 +08:00
extable.c nds32: MMU fault handling and page table management 2018-02-22 10:44:31 +08:00
fault.c nds32: Perf porting 2018-11-06 18:01:40 +08:00
highmem.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
init.c init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
ioremap.c nds32: Device specific operations 2018-02-22 10:44:32 +08:00
Makefile nds32: Fix gcc 8.0 compiler option incompatible. 2018-11-06 18:01:39 +08:00
mm-nds32.c nds32: MMU initialization 2018-02-22 10:44:31 +08:00
mmap.c nds32: MMU fault handling and page table management 2018-02-22 10:44:31 +08:00
proc.c nds32: Cache and TLB routines 2018-02-22 10:44:32 +08:00
tlb.c nds32: Cache and TLB routines 2018-02-22 10:44:32 +08:00