diff options
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r-- | arch/mips/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 0c997645e8f0..c1f95359d298 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
@@ -917,7 +917,7 @@ static void __init resource_init(void) | |||
917 | if (end >= HIGHMEM_START) | 917 | if (end >= HIGHMEM_START) |
918 | end = HIGHMEM_START - 1; | 918 | end = HIGHMEM_START - 1; |
919 | 919 | ||
920 | res = alloc_bootmem(sizeof(struct resource)); | 920 | res = memblock_alloc(sizeof(struct resource), 0); |
921 | 921 | ||
922 | res->start = start; | 922 | res->start = start; |
923 | res->end = end; | 923 | res->end = end; |