]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] io_apic: trivial __iomem annotations
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:39:25 +0000 (16:39 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:14:07 +0000 (09:14 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/io_apic.c

index 5592fa6e1fa1fa8dfb1adaa7167f706f2016a6d6..ba8d302a0b728718d099f5254a8e463d45b1853d 100644 (file)
@@ -126,7 +126,7 @@ static inline void io_apic_write(unsigned int apic, unsigned int reg, unsigned i
  */
 static inline void io_apic_modify(unsigned int apic, unsigned int reg, unsigned int value)
 {
-       volatile struct io_apic *io_apic = io_apic_base(apic);
+       volatile struct io_apic __iomem *io_apic = io_apic_base(apic);
        if (sis_apic_bug)
                writel(reg, &io_apic->index);
        writel(value, &io_apic->data);