]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: 6712/1: SPEAr: replace readl(), writel() with relaxed versions in uncompress.h
authorviresh kumar <viresh.kumar@st.com>
Wed, 16 Feb 2011 06:41:06 +0000 (07:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Feb 2011 19:29:23 +0000 (19:29 +0000)
commitac1556b37e9b06a41d7691dca0d50a28210488f9
treed20a18386bb46dfd003ce852c86397ba446f1951
parentd16613586aa064d87ef05e3b929e3b4fdc714cc4
ARM: 6712/1: SPEAr: replace readl(), writel() with relaxed versions in uncompress.h

readl() and writel() calls the outer cache maintainance operations
which are not available during Linux uncompression. This patch replaces
readl() and writel() with readl_relaxed() and writel_relaxed() to avoid
the link time errors.

Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-spear/include/plat/uncompress.h