projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memblock: stop using implicit alignment to SMP_CACHE_BYTES
[platform/kernel/linux-starfive.git]
/
arch
/
mips
/
kernel
/
setup.c
diff --git
a/arch/mips/kernel/setup.c
b/arch/mips/kernel/setup.c
index
41c1683
..
ea09ed6
100644
(file)
--- a/
arch/mips/kernel/setup.c
+++ b/
arch/mips/kernel/setup.c
@@
-916,7
+916,7
@@
static void __init resource_init(void)
if (end >= HIGHMEM_START)
end = HIGHMEM_START - 1;
- res = memblock_alloc(sizeof(struct resource),
0
);
+ res = memblock_alloc(sizeof(struct resource),
SMP_CACHE_BYTES
);
res->start = start;
res->end = end;