linux/arch/xtensa/mm
Mike Rapoport f348f5c232 xtensa: remove free_initrd_mem
The xtensa free_initrd_mem() verifies that initrd is mapped and then
frees its memory using free_reserved_area().

The initrd is considered mapped when its memory was successfully reserved
with mem_reserve().

Resetting initrd_start to 0 in case of mem_reserve() failure allows to
switch to generic free_initrd_mem() implementation.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Message-Id: <1563977432-8376-1-git-send-email-rppt@linux.ibm.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2019-08-26 18:19:04 -07:00
..
cache.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
fault.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
highmem.c sched/preempt, mm/kmap: Explicitly disable/enable preemption in kmap_atomic_* 2015-05-19 08:39:14 +02:00
init.c xtensa: remove free_initrd_mem 2019-08-26 18:19:04 -07:00
ioremap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
kasan_init.c treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
misc.S xtensa: abstract 'entry' and 'retw' in assembly code 2019-07-08 10:04:48 -07:00
mmu.c xtensa: fix format string warning in init_pmd 2019-04-04 18:45:55 -07:00
tlb.c xtensa: clean up custom-controlled debug output 2017-12-16 22:37:08 -08:00