Skip to content

Commit

Permalink
C6X: deal with memblock API changes
Browse files Browse the repository at this point in the history
Recent memblock related commits require the following C6X changes:

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

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

  * commit fe091c2
    memblock_init() no longer needed

Signed-off-by: Mark Salter <msalter@redhat.com>
  • Loading branch information
Mark Salter committed Jan 8, 2012
1 parent 25b48ff commit d5981a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions arch/c6x/include/asm/memblock.h

This file was deleted.

3 changes: 0 additions & 3 deletions arch/c6x/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit d5981a5

Please sign in to comment.