mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[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>
This commit is contained in:
parent
adf8b37baf
commit
1144d6535f
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue