[IA64] don't double >> PAGE_SHIFT pointer for /dev/kmem access
authorJes Sorensen <jes@sgi.com>
Wed, 25 Oct 2006 09:49:53 +0000 (05:49 -0400)
committerTony Luck <tony.luck@intel.com>
Thu, 26 Oct 2006 21:57:06 +0000 (14:57 -0700)
commitf2454a1a4b2aca38d3b7887619f43291d773c1ee
tree72b865056b807feef4f85a6c2fa48e24eed38cd0
parente80391500078b524083ba51c3df01bbaaecc94bb
[IA64] don't double >> PAGE_SHIFT pointer for /dev/kmem access

Don't PAGE_SHIFT pointer before handing it to virt_to_page() in
xlate_dev_kmem_ptr() as it results in a double shift.

Spotted by Bob Montgomery.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/uaccess.h