x86, pat: Add lookup_memtype to get the current memtype of a paddr
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Fri, 10 Jul 2009 16:57:39 +0000 (09:57 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 26 Aug 2009 22:41:28 +0000 (15:41 -0700)
commit637b86e75f4c255a4446bc0b67ce9d914b9d2d42
treedc5c835683673c7a1f47acdcc2b3da652b4bceab
parentf58417409603d62f2eb23db4d2cf6853d84a1698
x86, pat: Add lookup_memtype to get the current memtype of a paddr

Add a new routine lookup_memtype() to get the current memtype based on
the PAT reserves and frees.

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/mm/pat.c