diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 13:34:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:34:04 +0100 |
commit | 1c17f4d615f34a4ecfcf9132d643126b226f5e79 (patch) | |
tree | f621a6370b60a48a62b52e49f38d8b8f6f6b3590 /scripts/patch-kernel | |
parent | d2e626f45cc450c00f5f98a89b8b4c4ac3c9bf5f (diff) |
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions