mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
b310f381d2
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>
12 lines
281 B
C
12 lines
281 B
C
#define ARCH_HAS_IOREMAP_WC
|
|
|
|
#ifdef CONFIG_X86_32
|
|
# include "io_32.h"
|
|
#else
|
|
# include "io_64.h"
|
|
#endif
|
|
extern int ioremap_change_attr(unsigned long vaddr, unsigned long size,
|
|
unsigned long prot_val);
|
|
extern void __iomem * ioremap_wc(unsigned long offset, unsigned long size);
|
|
|