summaryrefslogtreecommitdiffstats
path: root/arch/mips/arc
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2001-02-13 21:15:09 +0000
committerHarald Koerfgen <hkoerfg@web.de>2001-02-13 21:15:09 +0000
commite25ac8bd2505cccb57f4af28acf1fa9a2e024e52 (patch)
tree087812317676b9dd2fc58dbb5c6eebd027ea8cda /arch/mips/arc
parentff76e458d1f6d4a8b231e4866c1ea309a0ee1563 (diff)
DECstation fixes from Maciej
Diffstat (limited to 'arch/mips/arc')
-rw-r--r--arch/mips/arc/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/arc/memory.c b/arch/mips/arc/memory.c
index eaf7efdc5..e5cbb907f 100644
--- a/arch/mips/arc/memory.c
+++ b/arch/mips/arc/memory.c
@@ -145,7 +145,7 @@ prom_free_prom_memory (void)
+ boot_mem_map.map[i].size) {
ClearPageReserved(virt_to_page(__va(addr)));
set_page_count(virt_to_page(__va(addr)), 1);
- free_page(__va(addr));
+ free_page((unsigned long)__va(addr));
addr += PAGE_SIZE;
freed += PAGE_SIZE;
}