diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-04-27 12:15:10 +0900 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-05-03 22:38:16 +0200 |
commit | 5b4236e17cc1bd9fa14b2b0c7a4ae632d41f2e20 (patch) | |
tree | ece1dff46ebb0f66add8226030fdc1addbf0d526 /drivers/dma/bestcomm/ata.c | |
parent | 601b7b9147455a4d8d80d04f0e5a1eb222301bbe (diff) |
um: Fix to call read_initrd after init_bootmem
Since read_initrd() invokes alloc_bootmem() for allocating
memory to load initrd image, it must be called after init_bootmem.
This makes read_initrd() called directly from setup_arch()
after init_bootmem() and mem_total_pages().
Cc: <stable@vger.kernel.org>
Fixes: b63236972e1 ("um: Setup physical memory in setup_arch()")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/dma/bestcomm/ata.c')
0 files changed, 0 insertions, 0 deletions