git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull acpica into release branch
[pandora-kernel.git]
/
arch
/
mips
/
mm
/
init.c
diff --git
a/arch/mips/mm/init.c
b/arch/mips/mm/init.c
index
c22308b
..
33f6e1c
100644
(file)
--- a/
arch/mips/mm/init.c
+++ b/
arch/mips/mm/init.c
@@
-227,7
+227,7
@@
void __init mem_init(void)
for (tmp = 0; tmp < max_low_pfn; tmp++)
if (page_is_ram(tmp)) {
ram++;
- if (PageReserved(
mem_map+tmp
))
+ if (PageReserved(
pfn_to_page(tmp)
))
reservedpages++;
}