]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: PAT: modify follow_phys to return phys_addr prot and return value
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 19 Dec 2008 21:47:27 +0000 (13:47 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 19 Dec 2008 23:40:30 +0000 (15:40 -0800)
commitd87fe6607c31944f7572f965c1507ae77026c133
tree56e41312b33ca3fe2bca50252f436e5f19e256a8
parent6bd9cd50c830eb88d571c492ec370a30bf999e15
x86: PAT: modify follow_phys to return phys_addr prot and return value

Impact: Changes and globalizes an existing static interface.

Follow_phys does similar things as follow_pfnmap_pte. Make a minor change
to follow_phys so that it can be used in place of follow_pfnmap_pte.
Physical address return value with 0 as error return does not work in
follow_phys as the actual physical address 0 mapping may exist in pte.

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>
include/linux/mm.h
mm/memory.c