diff options
author | Mark Salter <msalter@redhat.com> | 2012-01-08 12:31:28 -0500 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2012-01-08 15:12:44 -0500 |
commit | d5981a5f16ed8d648b7f44e4aa19cd25733518a3 (patch) | |
tree | 62afc89db8128512abb6bf053207b61218950e9a /arch/c6x | |
parent | 25b48ff852e2e71b0d44d8ee6f69c9b704bd5070 (diff) |
C6X: deal with memblock API changes
Recent memblock related commits require the following C6X changes:
* commit 24aa07882b672fff2da2f5c955759f0bd13d32d5
asm/memblock.h no longer required
* commit 1440c4e2c918532f39131c3330fe2226e16be7b6
memblock_analyze() no longer needed to update total size
* commit fe091c208a40299fba40e62292a610fb91e44b4e
memblock_init() no longer needed
Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x')
-rw-r--r-- | arch/c6x/include/asm/memblock.h | 4 | ||||
-rw-r--r-- | arch/c6x/kernel/setup.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/c6x/include/asm/memblock.h b/arch/c6x/include/asm/memblock.h deleted file mode 100644 index 1181a979a82..00000000000 --- a/arch/c6x/include/asm/memblock.h +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #ifndef _ASM_C6X_MEMBLOCK_H | ||
2 | #define _ASM_C6X_MEMBLOCK_H | ||
3 | |||
4 | #endif /* _ASM_C6X_MEMBLOCK_H */ | ||
diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c index 3c2858f0d91..c126f0414be 100644 --- a/arch/c6x/kernel/setup.c +++ b/arch/c6x/kernel/setup.c | |||
@@ -305,8 +305,6 @@ void __init setup_arch(char **cmdline_p) | |||
305 | /* Initialize command line */ | 305 | /* Initialize command line */ |
306 | *cmdline_p = c6x_command_line; | 306 | *cmdline_p = c6x_command_line; |
307 | 307 | ||
308 | memblock_init(); | ||
309 | |||
310 | memory_end = ram_end; | 308 | memory_end = ram_end; |
311 | memory_end &= ~(PAGE_SIZE - 1); | 309 | memory_end &= ~(PAGE_SIZE - 1); |
312 | 310 | ||
@@ -366,7 +364,6 @@ void __init setup_arch(char **cmdline_p) | |||
366 | memory_end >> PAGE_SHIFT); | 364 | memory_end >> PAGE_SHIFT); |
367 | memblock_reserve(memory_start, bootmap_size); | 365 | memblock_reserve(memory_start, bootmap_size); |
368 | 366 | ||
369 | memblock_analyze(); | ||
370 | unflatten_device_tree(); | 367 | unflatten_device_tree(); |
371 | 368 | ||
372 | c6x_cache_init(); | 369 | c6x_cache_init(); |