patch-2.2.0-pre9 linux/include/asm-sparc64/pgtable.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/asm-m68k/virtconvert.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jan 20 13:40:48 1999
- Orig file:
v2.2.0-pre8/linux/include/asm-sparc64/pgtable.h
- Orig date:
Thu Nov 19 09:56:29 1998
diff -u --recursive --new-file v2.2.0-pre8/linux/include/asm-sparc64/pgtable.h linux/include/asm-sparc64/pgtable.h
@@ -371,7 +371,7 @@
(unsigned long)ret->pprev_hash = mask;
if (!mask)
pgd_quicklist = (unsigned long *)ret->next_hash;
- ret = (struct page *)(PAGE_OFFSET + (ret->map_nr << PAGE_SHIFT) + off);
+ ret = (struct page *) (page_address(ret) + off);
pgd_cache_size--;
} else {
ret = (struct page *) __get_free_page(GFP_KERNEL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov