]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 5376/1: S3C24XX: Fix sparse errors in platform uncompress.h
authorDaniel Silverstone <dsilvers@simtec.co.uk>
Tue, 10 Feb 2009 12:39:52 +0000 (13:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Feb 2009 11:30:19 +0000 (11:30 +0000)
Ensure __iomem attribute is __force 'd off in the minimal
__raw_writel() implementation.

Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c/include/plat/uncompress.h

index 6061de87f225d43e5f7bbaea948d71f227fb2a5d..dc66a477f62e3612f200ff31000138d7d67378ad 100644 (file)
@@ -90,7 +90,10 @@ static inline void flush(void)
 {
 }
 
-#define __raw_writel(d,ad) do { *((volatile unsigned int *)(ad)) = (d); } while(0)
+#define __raw_writel(d, ad)                    \
+       do {                                                    \
+               *((volatile unsigned int __force *)(ad)) = (d); \
+       } while (0)
 
 /* CONFIG_S3C_BOOT_WATCHDOG
  *