public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09e0c3
)
flat_mem: bring into line with prototypes
author
Alan Cox
<alan@linux.intel.com>
Sat, 13 Feb 2016 20:08:54 +0000
(20:08 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 13 Feb 2016 20:08:54 +0000
(20:08 +0000)
Kernel/flat_mem.c
patch
|
blob
|
history
diff --git
a/Kernel/flat_mem.c
b/Kernel/flat_mem.c
index
0b1f97c
..
afe55e4
100644
(file)
--- a/
Kernel/flat_mem.c
+++ b/
Kernel/flat_mem.c
@@
-519,9
+519,9
@@
void *pagemap_base(void)
return mmu_context[udata.u_page].base;
}
-u
nsigned long
pagemap_mem_used(void)
+u
size_t
pagemap_mem_used(void)
{
- return freemem;
+ return freemem
>> 10
;
}
#define size (uint32_t)udata.u_argn