summaryrefslogtreecommitdiff
path: root/arch/unicore32/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/setup.c')
-rw-r--r--arch/unicore32/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/kernel/setup.c b/arch/unicore32/kernel/setup.c
index b2c38b32ea57..4b0cb68c355a 100644
--- a/arch/unicore32/kernel/setup.c
+++ b/arch/unicore32/kernel/setup.c
@@ -206,7 +206,7 @@ request_standard_resources(struct meminfo *mi)
if (mi->bank[i].size == 0)
continue;
- res = memblock_alloc_low(sizeof(*res), 0);
+ res = memblock_alloc_low(sizeof(*res), SMP_CACHE_BYTES);
res->name = "System RAM";
res->start = mi->bank[i].start;
res->end = mi->bank[i].start + mi->bank[i].size - 1;