public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48ddf8
)
malloc: allow for 16bit int types
author
Alan Cox
<alan@linux.intel.com>
Tue, 13 Sep 2016 21:03:37 +0000
(22:03 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 13 Sep 2016 21:03:37 +0000
(22:03 +0100)
Kernel/malloc.c
patch
|
blob
|
history
diff --git
a/Kernel/malloc.c
b/Kernel/malloc.c
index
00c95d2
..
a34edda
100644
(file)
--- a/
Kernel/malloc.c
+++ b/
Kernel/malloc.c
@@
-26,7
+26,7
@@
struct block
size_t length; /* high bit set if used */
};
-#define UNUSED(b) (!((b)->length & (1<<31)))
+#define UNUSED(b) (!((b)->length & (1
L
<<31)))
static struct block start = { NULL, sizeof(struct block) };