Ensure we __force the __iomem attribute off when we use
our minimal __raw_writel() implementation.

Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>

Index: linux-2.6.27-rc6-quilt3/arch/arm/plat-s3c/include/plat/uncompress.h
===================================================================
--- linux-2.6.27-rc6-quilt3.orig/arch/arm/plat-s3c/include/plat/uncompress.h    
2008-09-14 23:47:23.000000000 +0100
+++ linux-2.6.27-rc6-quilt3/arch/arm/plat-s3c/include/plat/uncompress.h 
2008-09-14 23:51:39.000000000 +0100
@@ -90,7 +90,7 @@ 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
  *

-- 
Ben ([EMAIL PROTECTED], http://www.fluff.org/)

  'a smiley only costs 4 bytes'

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to