summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-12-16 13:05:32 +0800
committerAndy Green <andy.green@linaro.org>2012-01-09 08:39:34 +0800
commit54018a4c028806a49252cea52d7dc20fe2409dd6 (patch)
tree735e40e58082f61f4a0962f8346a75b35c0fe9ee
parent576248f3f8ed0227272b18218c2d4779b32b284c (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 2481e1bec0a..b97db78cc00 100644
--- a/arch/arm/mm/cache-l2x0.c
+++ b/arch/arm/mm/cache-l2x0.c
@@ -401,7 +401,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);