diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-11 02:47:56 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-11 03:51:57 +0100 |
commit | 110957f0e521c8d14f97bbe955af2fa17bb720bf (patch) | |
tree | 569ba668cfe6731ca7ca2e3fbd2ce03a20d225ce | |
parent | [PARISC] Add some defines for HugeTLB pages (diff) | |
download | linux-110957f0e521c8d14f97bbe955af2fa17bb720bf.tar.xz linux-110957f0e521c8d14f97bbe955af2fa17bb720bf.zip |
[PARISC] Add __iomem to __raw_check_addr()
Add __iomem to __raw_check_addr(), which nukes ~13809 sparse
warnings on allmodconfig.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r-- | include/asm-parisc/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h index b9bb5946ecc9..0db00adc942a 100644 --- a/include/asm-parisc/io.h +++ b/include/asm-parisc/io.h @@ -41,7 +41,7 @@ extern void __raw_bad_addr(const volatile void __iomem *addr); #define __raw_check_addr(addr) \ if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe) \ __raw_bad_addr(addr); \ - addr = (void *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT)); + addr = (void __iomem *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT)); #else #define gsc_check_addr(addr) #define __raw_check_addr(addr) |