Skip to content
Commit f2454a1a authored by Jes Sorensen's avatar Jes Sorensen Committed by Tony Luck
Browse files

[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: default avatarJes Sorensen <jes@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent e8039150
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment