Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9af993a92623e022c176459fa6607a564b9a7eaf Commit: 9af993a92623e022c176459fa6607a564b9a7eaf Parent: 0879750f5d75dee0546316b7b0e83fb6cd258ad7 Author: Ingo Molnar <[EMAIL PROTECTED]> AuthorDate: Wed Jan 30 13:34:09 2008 +0100 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 13:34:09 2008 +0100
x86: make ioremap() UC by default Yes! A mere 120 c_p_a() fixing and rewriting patches later, we are now confident that we can enable UC by default for ioremap(), on x86 too. Every other architectures was doing this already. Doing so makes Linux more robust against MTRR mixups (which might go unnoticed if BIOS writers test other OSs only - where PAT might override bad MTRRs defaults). Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- include/asm-x86/io_64.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-x86/io_64.h b/include/asm-x86/io_64.h index ee7a5c9..f64a59c 100644 --- a/include/asm-x86/io_64.h +++ b/include/asm-x86/io_64.h @@ -166,7 +166,7 @@ extern void __iomem *ioremap_cache(unsigned long offset, unsigned long size); */ static inline void __iomem *ioremap(unsigned long offset, unsigned long size) { - return ioremap_cache(offset, size); + return ioremap_nocache(offset, size); } extern void iounmap(volatile void __iomem *addr); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html