OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7605b39
)
[MIPS] SPARSEMEM: The first pfn of zone should be min_low_pfn, not 0.
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Tue, 20 Mar 2007 15:56:28 +0000
(
00:56
+0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 24 Mar 2007 17:01:49 +0000
(17:01 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/init.c
b/arch/mips/mm/init.c
index
f08ae71
..
25abe91
100644
(file)
--- a/
arch/mips/mm/init.c
+++ b/
arch/mips/mm/init.c
@@
-377,7
+377,7
@@
void __init paging_init(void)
#ifdef CONFIG_FLATMEM
free_area_init(zones_size);
#else
- pfn =
0
;
+ pfn =
min_low_pfn
;
for (i = 0; i < MAX_NR_ZONES; i++)
for (j = 0; j < zones_size[i]; j++, pfn++)
if (!page_is_ram(pfn))