diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-10 20:47:56 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-10 21:51:57 -0500 |
commit | 110957f0e521c8d14f97bbe955af2fa17bb720bf (patch) | |
tree | 569ba668cfe6731ca7ca2e3fbd2ce03a20d225ce | |
parent | e8b736c860dd93ba26b391abc91891e03ca99858 (diff) |
[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); | |||
41 | #define __raw_check_addr(addr) \ | 41 | #define __raw_check_addr(addr) \ |
42 | if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe) \ | 42 | if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe) \ |
43 | __raw_bad_addr(addr); \ | 43 | __raw_bad_addr(addr); \ |
44 | addr = (void *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT)); | 44 | addr = (void __iomem *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT)); |
45 | #else | 45 | #else |
46 | #define gsc_check_addr(addr) | 46 | #define gsc_check_addr(addr) |
47 | #define __raw_check_addr(addr) | 47 | #define __raw_check_addr(addr) |