summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-10-25 10:51:59 +0800
committerAndy Green <andy.green@linaro.org>2011-10-25 10:51:59 +0800
commit839b73e77106f63ad9e0607eaf918a6be603219b (patch)
treef13a0c10b86f187eb9db8b8942e6938d6d3186b4
parent4654fe1ea160f117c6be61311166068d8eb5232a (diff)
l2cache use l2x0_cache_id
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--arch/arm/mm/cache-l2x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
index 5e7485d9e61..acc1591307e 100644
--- a/arch/arm/mm/cache-l2x0.c
+++ b/arch/arm/mm/cache-l2x0.c
@@ -390,7 +390,7 @@ void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask)
*/
if (!(readl_relaxed(l2x0_base + L2X0_CTRL) & 1)) {
/* Make sure that I&D is not locked down when starting */
- l2x0_unlock(cache_id);
+ l2x0_unlock(l2x0_cache_id);
/* l2x0 controller is disabled */
writel_relaxed(aux, l2x0_base + L2X0_AUX_CTRL);