OSDN Git Service

x86, mm: Remove parameter in alloc_low_page for 64bit
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:39:00 +0000 (19:39 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:22 +0000 (11:59 -0800)
commit868bf4d6b94c980d3ad87f892a5e528b8ee2c320
tree6f7d77453d2185c4868adbf55f2df6803b7de7e1
parent973dc4f3fad5890bc7b694148ad4c825b9af6dc1
x86, mm: Remove parameter in alloc_low_page for 64bit

Now all page table buf are pre-mapped, and could use virtual address directly.
So don't need to remember physical address anymore.

Remove that phys pointer in alloc_low_page(), and that will allow us to merge
alloc_low_page between 64bit and 32bit.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-24-git-send-email-yinghai@kernel.org
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init_64.c