summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/setup.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-03-30 14:49:41 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-03-30 14:49:41 +0200
commit12e22e8e60add9e1ccd61509ab7fd6fc1c214c52 (patch)
tree6b7df40ae8aca0a2d0d937136c780ae66bcafcb4 /arch/mips/kernel/setup.c
parent2da0ba2d2768baa0c5c502d1f53505dc905a06e3 (diff)
downloadblackbird-obmc-linux-12e22e8e60add9e1ccd61509ab7fd6fc1c214c52.tar.gz
blackbird-obmc-linux-12e22e8e60add9e1ccd61509ab7fd6fc1c214c52.zip
MIPS: Stop using <asm-generic/int-l64.h>.
This fixes a few warnings - and triggers a few new ones which the rest of this patch fixes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r--arch/mips/kernel/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4430a1f8fdf1..2950b97253b7 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -277,7 +277,8 @@ static void __init bootmem_init(void)
* not selected. Once that done we can determine the low bound
* of usable memory.
*/
- reserved_end = max(init_initrd(), PFN_UP(__pa_symbol(&_end)));
+ reserved_end = max(init_initrd(),
+ (unsigned long) PFN_UP(__pa_symbol(&_end)));
/*
* max_low_pfn is not a number of pages. The number of pages
OpenPOWER on IntegriCloud