diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 20:41:05 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 20:41:05 +0900 |
commit | cb700aa4f13d38726defab3060d3ebeaf67dc189 (patch) | |
tree | 7d60e396368f649149d545a936e4ccebd83b8a0b /arch/sh/include/asm/io.h | |
parent | 934135c19d8a1be435bae75aefc09b8ae1698b16 (diff) | |
download | kernel_samsung_smdk4412-cb700aa4f13d38726defab3060d3ebeaf67dc189.zip kernel_samsung_smdk4412-cb700aa4f13d38726defab3060d3ebeaf67dc189.tar.gz kernel_samsung_smdk4412-cb700aa4f13d38726defab3060d3ebeaf67dc189.tar.bz2 |
sh: ioremap_prot support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/io.h')
-rw-r--r-- | arch/sh/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index e49cfee..1857666 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h @@ -347,6 +347,8 @@ __ioremap_mode(unsigned long offset, unsigned long size, unsigned long flags) __ioremap_mode((offset), (size), _PAGE_CACHABLE) #define p3_ioremap(offset, size, flags) \ __ioremap((offset), (size), (flags)) +#define ioremap_prot(offset, size, flags) \ + __ioremap_mode((offset), (size), (flags)) #define iounmap(addr) \ __iounmap((addr)) |