Huang, Ying 1c17f4d615 x86: ioremap_nocache fix
This patch fixes a bug of ioremap_nocache. ioremap_nocache() will call
__ioremap() with flags != 0 to do the real work, which will call
change_page_attr_addr() if phys_addr + size - 1 < (end_pfn_map << PAGE_SHIFT).
But some pages between 0 ~ end_pfn_map << PAGE_SHIFT are not mapped by
identity map, this will make change_page_attr_addr failed.

This patch is based on latest x86 git and has been tested on x86_64 platform.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:34:04 +01:00
..
2008-01-30 13:33:25 +01:00
2008-01-30 13:31:41 +01:00
2008-01-30 13:30:47 +01:00
2008-01-30 13:33:53 +01:00
2008-01-30 13:33:54 +01:00
2008-01-30 13:34:04 +01:00
2008-01-30 13:32:36 +01:00
2007-10-11 11:17:18 +02:00
2008-01-30 13:31:10 +01:00
2008-01-30 13:34:04 +01:00