git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
mm
/
cake.c
diff --git
a/lunaix-os/kernel/mm/cake.c
b/lunaix-os/kernel/mm/cake.c
index 0e8f3341c5b8a95a23e47ba7925015aa1d0ab8b5..2a70ab76d823f7d09d6d62cbc08bc6e70f70372b 100644
(file)
--- a/
lunaix-os/kernel/mm/cake.c
+++ b/
lunaix-os/kernel/mm/cake.c
@@
-77,7
+77,7
@@
__init_pile(struct cake_pile* pile,
unsigned int offset = sizeof(long);
// 默认每块儿蛋糕对齐到地址总线宽度
- if ((options & PILE_
CACHELIN
E)) {
+ if ((options & PILE_
ALIGN_CACH
E)) {
// 对齐到128字节缓存行大小,主要用于DMA
offset = CACHE_LINE_SIZE;
}