diff options
-rw-r--r-- | include/asm-sparc/io_32.h | 1 | ||||
-rw-r--r-- | include/asm-sparc/io_64.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc/io_32.h b/include/asm-sparc/io_32.h index c43af722ae8c..10d7da450070 100644 --- a/include/asm-sparc/io_32.h +++ b/include/asm-sparc/io_32.h | |||
@@ -244,6 +244,7 @@ _memcpy_toio(volatile void __iomem *dst, const void *src, __kernel_size_t n) | |||
244 | */ | 244 | */ |
245 | extern void __iomem *ioremap(unsigned long offset, unsigned long size); | 245 | extern void __iomem *ioremap(unsigned long offset, unsigned long size); |
246 | #define ioremap_nocache(X,Y) ioremap((X),(Y)) | 246 | #define ioremap_nocache(X,Y) ioremap((X),(Y)) |
247 | #define ioremap_wc(X,Y) ioremap((X),(Y)) | ||
247 | extern void iounmap(volatile void __iomem *addr); | 248 | extern void iounmap(volatile void __iomem *addr); |
248 | 249 | ||
249 | #define ioread8(X) readb(X) | 250 | #define ioread8(X) readb(X) |
diff --git a/include/asm-sparc/io_64.h b/include/asm-sparc/io_64.h index 11daa31cdaf9..0bff078ffdd0 100644 --- a/include/asm-sparc/io_64.h +++ b/include/asm-sparc/io_64.h | |||
@@ -460,6 +460,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size) | |||
460 | } | 460 | } |
461 | 461 | ||
462 | #define ioremap_nocache(X,Y) ioremap((X),(Y)) | 462 | #define ioremap_nocache(X,Y) ioremap((X),(Y)) |
463 | #define ioremap_wc(X,Y) ioremap((X),(Y)) | ||
463 | 464 | ||
464 | static inline void iounmap(volatile void __iomem *addr) | 465 | static inline void iounmap(volatile void __iomem *addr) |
465 | { | 466 | { |