提交 d5981a5f 编写于 作者: M Mark Salter

C6X: deal with memblock API changes

Recent memblock related commits require the following C6X changes:

  * commit 24aa0788
    asm/memblock.h no longer required

  * commit 1440c4e2
    memblock_analyze() no longer needed to update total size

  * commit fe091c20
    memblock_init() no longer needed
Signed-off-by: NMark Salter <msalter@redhat.com>
上级 25b48ff8
#ifndef _ASM_C6X_MEMBLOCK_H
#define _ASM_C6X_MEMBLOCK_H
#endif /* _ASM_C6X_MEMBLOCK_H */
......@@ -305,8 +305,6 @@ void __init setup_arch(char **cmdline_p)
/* Initialize command line */
*cmdline_p = c6x_command_line;
memblock_init();
memory_end = ram_end;
memory_end &= ~(PAGE_SIZE - 1);
......@@ -366,7 +364,6 @@ void __init setup_arch(char **cmdline_p)
memory_end >> PAGE_SHIFT);
memblock_reserve(memory_start, bootmap_size);
memblock_analyze();
unflatten_device_tree();
c6x_cache_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册