summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2019-05-14 02:18:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-14 18:47:47 +0200
commit0d7b4a607d8f0f95f1ce49e993a04317d10a4ecd (patch)
tree1afedc5284ef9dab1992140ad143734ac1a3c111 /arch/sh
parentinit: free_initmem: poison freed init memory (diff)
downloadlinux-0d7b4a607d8f0f95f1ce49e993a04317d10a4ecd.tar.xz
linux-0d7b4a607d8f0f95f1ce49e993a04317d10a4ecd.zip
riscv: switch over to generic free_initmem()
The riscv version of free_initmem() differs from the generic one only in that it sets the freed memory to zero. Make ricsv use the generic version and poison the freed memory. Link: http://lkml.kernel.org/r/1550515285-17446-5-git-send-email-rppt@linux.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Richard Kuo <rkuo@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions