diff options
author | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2011-08-18 11:38:05 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-08-06 21:07:40 +0400 |
commit | 86e9370819ecf98cb8598df1f0e04a375eae07b9 (patch) | |
tree | 71bcbb0b3015aa5884c77495df636f9502189ab4 /arch/unicore32 | |
parent | a98831159b69223a0429e9de5ccf4a10372241be (diff) | |
download | linux-86e9370819ecf98cb8598df1f0e04a375eae07b9.tar.xz |
unicore32: add ioremap_nocache definition
commit a50e4213e71adc7dde0d514aabd8af7275fee39f upstream.
Bugfix for following error messages:
lib/iomap.c: In function 'pci_iomap':
lib/iomap.c:274: error: implicit declaration of function 'ioremap_nocache'
lib/iomap.c:274: warning: return makes pointer from integer without a cast
Also see commit <f1ecc69838a2d7c8a3e1909f637d4083c071777d>
it will hide the ioremap_nocache function for systems with an MMU
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/unicore32')
-rw-r--r-- | arch/unicore32/include/asm/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/unicore32/include/asm/io.h b/arch/unicore32/include/asm/io.h index 1a5c5a5eb39c..499594f280c6 100644 --- a/arch/unicore32/include/asm/io.h +++ b/arch/unicore32/include/asm/io.h @@ -37,6 +37,7 @@ extern void __uc32_iounmap(volatile void __iomem *addr); */ #define ioremap(cookie, size) __uc32_ioremap(cookie, size) #define ioremap_cached(cookie, size) __uc32_ioremap_cached(cookie, size) +#define ioremap_nocache(cookie, size) __uc32_ioremap(cookie, size) #define iounmap(cookie) __uc32_iounmap(cookie) /* |