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
Merge branch 'master' into signal-dev
[lunaix-os.git]
/
lunaix-os
/
kernel
/
mm
/
kalloc.c
diff --git
a/lunaix-os/kernel/mm/kalloc.c
b/lunaix-os/kernel/mm/kalloc.c
index 4d9a5d1ee8fe463c3041a08c2d254b95ef2f3812..e970c1d5ac96ad399102a28b7deca8818cff939b 100644
(file)
--- a/
lunaix-os/kernel/mm/kalloc.c
+++ b/
lunaix-os/kernel/mm/kalloc.c
@@
-249,7
+249,7
@@
lx_grow_heap(heap_context_t* heap, size_t sz)
void* start;
// The "+ WSIZE" capture the overhead for epilogue marker
- if (!(start = lxbrk(heap, sz + WSIZE))) {
+ if (!(start = lx
s
brk(heap, sz + WSIZE))) {
return NULL;
}
sz = ROUNDUP(sz, BOUNDARY);