diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-11 18:16:02 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-11 18:30:58 -0400 |
commit | 9cba1187921d6fc7e0c083307d8b3adad533359b (patch) | |
tree | 9597a3f8f6248f2df0fe000888078bf4b5c7e3da | |
parent | b3abe8eabc2dad0a63fe21d0451fc2e2e8a8b777 (diff) |
Fix variable name in cache-l2x0.c
Signed-off-by: Christopher Kenna <cjk@cs.unc.edu>
-rw-r--r-- | arch/arm/mm/cache-l2x0.c | 4 | ||||
-rw-r--r-- | include/litmus/color.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c index 038d769e0db0..4f98e8e07835 100644 --- a/arch/arm/mm/cache-l2x0.c +++ b/arch/arm/mm/cache-l2x0.c | |||
@@ -350,7 +350,7 @@ void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask) | |||
350 | */ | 350 | */ |
351 | if (!(readl_relaxed(l2x0_base + L2X0_CTRL) & 1)) { | 351 | if (!(readl_relaxed(l2x0_base + L2X0_CTRL) & 1)) { |
352 | /* Make sure that I&D is not locked down when starting */ | 352 | /* Make sure that I&D is not locked down when starting */ |
353 | l2x0_unlock(cache_id); | 353 | l2x0_unlock(l2x0_cache_id); |
354 | 354 | ||
355 | /* l2x0 controller is disabled */ | 355 | /* l2x0 controller is disabled */ |
356 | writel_relaxed(aux, l2x0_base + L2X0_AUX_CTRL); | 356 | writel_relaxed(aux, l2x0_base + L2X0_AUX_CTRL); |
@@ -375,8 +375,6 @@ void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask) | |||
375 | color_cache_info.ways = l2x0_ways; | 375 | color_cache_info.ways = l2x0_ways; |
376 | color_cache_info.sets = l2x0_sets; | 376 | color_cache_info.sets = l2x0_sets; |
377 | 377 | ||
378 | litmus_setup_lockdown(l2x0_base); | ||
379 | |||
380 | printk(KERN_INFO "%s cache controller enabled\n", type); | 378 | printk(KERN_INFO "%s cache controller enabled\n", type); |
381 | printk(KERN_INFO "l2x0: %d ways, CACHE_ID 0x%08x, AUX_CTRL 0x%08x, Cache size: %d B\n", | 379 | printk(KERN_INFO "l2x0: %d ways, CACHE_ID 0x%08x, AUX_CTRL 0x%08x, Cache size: %d B\n", |
382 | ways, cache_id, aux, l2x0_size); | 380 | ways, cache_id, aux, l2x0_size); |
diff --git a/include/litmus/color.h b/include/litmus/color.h index 0e67028f8ea3..615ebd80703c 100644 --- a/include/litmus/color.h +++ b/include/litmus/color.h | |||
@@ -24,6 +24,9 @@ struct color_cache_info { | |||
24 | extern struct color_cache_info color_cache_info; | 24 | extern struct color_cache_info color_cache_info; |
25 | extern unsigned long color_chunk; | 25 | extern unsigned long color_chunk; |
26 | 26 | ||
27 | struct vm_area_struct; | ||
28 | struct ctl_table; | ||
29 | |||
27 | struct page* get_colored_page(unsigned long); | 30 | struct page* get_colored_page(unsigned long); |
28 | void add_page_to_color_list(struct page*); | 31 | void add_page_to_color_list(struct page*); |
29 | void add_page_to_alloced_list(struct page*, struct vm_area_struct*); | 32 | void add_page_to_alloced_list(struct page*, struct vm_area_struct*); |