x86: PAT: remove follow_pfnmap_pte in favor of follow_phys
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 19 Dec 2008 21:47:28 +0000 (13:47 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 19 Dec 2008 23:40:30 +0000 (15:40 -0800)
commit982d789ab76c8a11426852fec2fdf2f412e21c0c
tree41e6932764facecb11bc9ca831ffd67ded384d68
parentd87fe6607c31944f7572f965c1507ae77026c133
x86: PAT: remove follow_pfnmap_pte in favor of follow_phys

Impact: Cleanup - removes a new function in favor of a recently modified older one.

Replace follow_pfnmap_pte in pat code with follow_phys. follow_phys lso
returns protection eliminating the need of pte_pgprot call. Using follow_phys
also eliminates the need for pte_pa.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/pgtable.h
arch/x86/mm/pat.c
include/linux/mm.h
mm/memory.c