diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2009-07-10 18:57:33 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-27 00:41:07 +0200 |
commit | 279e669b3fc0068cc3509e8e53036999e1e86588 (patch) | |
tree | 58b1dc1836b2c138ad765579ad202b25e00036d8 /arch/x86/include/asm/pat.h | |
parent | x86, pat: Keep identity maps consistent with mmaps even when pat_disabled (diff) | |
download | linux-279e669b3fc0068cc3509e8e53036999e1e86588.tar.xz linux-279e669b3fc0068cc3509e8e53036999e1e86588.zip |
x86, pat: ioremap to follow same PAT restrictions as other PAT users
ioremap has this hard-coded check for new type and requested type. That
check differs from other PAT users like /dev/mem mmap, remap_pfn_range
in only one condition where requested type is UC_MINUS and new type
is WC. Under that condition, ioremap fails. But other PAT interfaces succeed
with a WC mapping.
Change to make ioremap be in sync with other PAT APIs and use the same
macro as others. Also changes the error print to KERN_ERR instead of
pr_debug.
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>
Diffstat (limited to 'arch/x86/include/asm/pat.h')
0 files changed, 0 insertions, 0 deletions