From: venkatesh.pallipadi@intel.com Date: Wed, 19 Mar 2008 00:00:19 +0000 (-0700) Subject: x86: PAT use reserve free memtype in pci_mmap_page_range X-Git-Tag: v2.6.26-rc1~1154^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d72aa18f15df9987fe5837284e15b9ccf6e3f8;p=pandora-kernel.git x86: PAT use reserve free memtype in pci_mmap_page_range Add reserve_memtype and free_memtype wrapper for pci_mmap_page_range. Free is called on unmap, but identity map continues to be mapped as per pci_mmap_page_range request, until next request for the same region calls ioremap_change_attr(), which will go through without conflict. This way of mapping is identical to one used in ioremap/iounmap. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Suresh Siddha Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed