From: Venkatesh Pallipadi Date: Thu, 10 Jul 2008 08:09:59 +0000 (+0200) Subject: x86: fix /dev/mem compatibility under PAT X-Git-Tag: v2.6.26~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a361ee5cb8011763ece7b4add393e206439db8b3;p=pandora-kernel.git x86: fix /dev/mem compatibility under PAT Add ioremap_default(), which gives a sane mapping without worrying about type conflicts. Use it in /dev/mem read in place of ioremap(), as with ioremap(), any mapping of the region (other than UC_MINUS) will cause a conflict and failure of /dev/mem read. Should address the vbetest failure reported at: http://bugzilla.kernel.org/show_bug.cgi?id=11057 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed