csky: Use generic free_initrd_mem()
authorMike Rapoport <rppt@linux.ibm.com>
Wed, 28 Aug 2019 13:35:19 +0000 (16:35 +0300)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 30 Sep 2019 02:26:24 +0000 (10:26 +0800)
commitfdbdcddc2c93096e9b956de930d2d710a1342502
tree949586e648753b082c0c5159de63bf0cccca6956
parent4ad35c1f56386c8e7019c921bba1af109fde9693
csky: Use generic free_initrd_mem()

The csky implementation of free_initrd_mem() is an open-coded version of
free_reserved_area() without poisoning.

Remove it and make csky use the generic version of free_initrd_mem().

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/mm/init.c