Commit 1144d653 authored by Daniel Silverstone's avatar Daniel Silverstone Committed by Russell King

[ARM] 5376/1: S3C24XX: Fix sparse errors in platform uncompress.h

Ensure __iomem attribute is __force 'd off in the minimal
__raw_writel() implementation.
Signed-off-by: default avatarSimtec Linux Team <linux@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent adf8b37b
...@@ -90,7 +90,10 @@ static inline void flush(void) ...@@ -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 /* CONFIG_S3C_BOOT_WATCHDOG
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment