diff options
author | Daniel Silverstone <dsilvers@simtec.co.uk> | 2009-02-10 13:39:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-19 11:30:19 +0000 |
commit | 1144d6535fdea5133875dab4a0be5515ae5cb681 (patch) | |
tree | f55bdf5dfae79c3e5a75cf1a0f49fc36e23f3c8d /arch/arm/plat-s3c/include | |
parent | adf8b37bafc1495393201a2ae4235846371870d0 (diff) | |
download | kernel_samsung_tuna-1144d6535fdea5133875dab4a0be5515ae5cb681.zip kernel_samsung_tuna-1144d6535fdea5133875dab4a0be5515ae5cb681.tar.gz kernel_samsung_tuna-1144d6535fdea5133875dab4a0be5515ae5cb681.tar.bz2 |
[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: 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>
Diffstat (limited to 'arch/arm/plat-s3c/include')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/uncompress.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/include/plat/uncompress.h b/arch/arm/plat-s3c/include/plat/uncompress.h index 6061de8..dc66a47 100644 --- a/arch/arm/plat-s3c/include/plat/uncompress.h +++ b/arch/arm/plat-s3c/include/plat/uncompress.h @@ -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 * |