From: Venkatesh Pallipadi Date: Fri, 10 Jul 2009 16:57:33 +0000 (-0700) Subject: x86, pat: ioremap to follow same PAT restrictions as other PAT users X-Git-Tag: v2.6.32-rc1~680^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=279e669b3fc0068cc3509e8e53036999e1e86588;p=pandora-kernel.git 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 Signed-off-by: Suresh Siddha Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed