]> git.baikalelectronics.ru Git - kernel.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)
commitac6f4674fdd762096f0443daccf277139bceba81
treed20a18386bb46dfd003ce852c86397ba446f1951
parent4b6754899ad4358d908b57a40fe9442ebad71ae6
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