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
/
um
/
drivers
/
net_kern.c
diff --git
a/arch/um/drivers/net_kern.c
b/arch/um/drivers/net_kern.c
index
6738168
..
624cb47
100644
(file)
--- a/
arch/um/drivers/net_kern.c
+++ b/
arch/um/drivers/net_kern.c
@@
-650,7
+650,7
@@
static int __init eth_setup(char *str)
return 1;
}
- new = memblock_alloc(sizeof(*new),
0
);
+ new = memblock_alloc(sizeof(*new),
SMP_CACHE_BYTES
);
INIT_LIST_HEAD(&new->list);
new->index = n;