aboutsummaryrefslogtreecommitdiff
path: root/arch/score/kernel/setup.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 08:08:57 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 08:08:57 -0800
commita377d181e65241344dd95aa4a42c477477be03f1 (patch)
treebb624d0d33a95c9894899a22ea3d896ede66ce1e /arch/score/kernel/setup.c
parent22a80593598736e33080c6877be6ae99ec091e02 (diff)
parentef8355c3a3c7a4d7f1d49881937337ea78ed306a (diff)
Merge branch 'for-linus' of git://gitserver.sunplusct.com/linux-2.6-score
* 'for-linus' of git://gitserver.sunplusct.com/linux-2.6-score: score: include asm-generic/param.h in asm/delay.h. score: fixed pfn_valid define. score: add flush_dcahce_page and PG_dcache_dirty define
Diffstat (limited to 'arch/score/kernel/setup.c')
-rw-r--r--arch/score/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/score/kernel/setup.c b/arch/score/kernel/setup.c
index 6a2503c75c4..6f898c05787 100644
--- a/arch/score/kernel/setup.c
+++ b/arch/score/kernel/setup.c
@@ -49,6 +49,7 @@ static void __init bootmem_init(void)
min_low_pfn = PFN_UP(MEMORY_START);
max_low_pfn = PFN_UP(MEMORY_START + MEMORY_SIZE);
+ max_mapnr = max_low_pfn - min_low_pfn;
/* Initialize the boot-time allocator with low memory only. */
bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn,