diff options
Diffstat (limited to 'arch/m68k/atari/stram.c')
-rw-r--r-- | arch/m68k/atari/stram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/atari/stram.c b/arch/m68k/atari/stram.c index c83d66442612..1089d67df315 100644 --- a/arch/m68k/atari/stram.c +++ b/arch/m68k/atari/stram.c | |||
@@ -95,7 +95,8 @@ void __init atari_stram_reserve_pages(void *start_mem) | |||
95 | { | 95 | { |
96 | if (kernel_in_stram) { | 96 | if (kernel_in_stram) { |
97 | pr_debug("atari_stram pool: kernel in ST-RAM, using alloc_bootmem!\n"); | 97 | pr_debug("atari_stram pool: kernel in ST-RAM, using alloc_bootmem!\n"); |
98 | stram_pool.start = (resource_size_t)alloc_bootmem_low_pages(pool_size); | 98 | stram_pool.start = (resource_size_t)memblock_alloc_low(pool_size, |
99 | PAGE_SIZE); | ||
99 | stram_pool.end = stram_pool.start + pool_size - 1; | 100 | stram_pool.end = stram_pool.start + pool_size - 1; |
100 | request_resource(&iomem_resource, &stram_pool); | 101 | request_resource(&iomem_resource, &stram_pool); |
101 | stram_virt_offset = 0; | 102 | stram_virt_offset = 0; |