aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/io.h
diff options
context:
space:
mode:
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>2008-03-18 20:00:24 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:20 -0400
commitb310f381d220b2c6e3fab16e8c6e4ca13eea75b2 (patch)
treedd25df964cd1280ee4f908002726b5ab921da807 /include/asm-x86/io.h
parentef354af4629e5cc76a3f64fc46d452f2b56d5a59 (diff)
x86: PAT add ioremap_wc() interface
Introduce ioremap_wc for wc remap. (generic wrapper is in a later patch) Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/io.h')
-rw-r--r--include/asm-x86/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/io.h b/include/asm-x86/io.h
index 6fa150fa68fa..599cad3505c1 100644
--- a/include/asm-x86/io.h
+++ b/include/asm-x86/io.h
@@ -1,3 +1,5 @@
1#define ARCH_HAS_IOREMAP_WC
2
1#ifdef CONFIG_X86_32 3#ifdef CONFIG_X86_32
2# include "io_32.h" 4# include "io_32.h"
3#else 5#else
@@ -5,4 +7,5 @@
5#endif 7#endif
6extern int ioremap_change_attr(unsigned long vaddr, unsigned long size, 8extern int ioremap_change_attr(unsigned long vaddr, unsigned long size,
7 unsigned long prot_val); 9 unsigned long prot_val);
10extern void __iomem * ioremap_wc(unsigned long offset, unsigned long size);
8 11