RE: [PATCH 2/4] omap4: l2x0: Override the default l2x0_disable

From
Gadiyar, Anand <hidden>
Date
2010-08-02 12:18:11
Also in
linux-arm-kernel
Reply to
Santosh Shilimkar, 2010-07-31
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 13dc979..b557cc2 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
<snip>
quoted hunk ↗ jump to hunk
@@ -66,6 +73,12 @@ static int __init omap_l2_cache_init(void)
 	 */
 	l2x0_init(l2cache_base, 0x0e050000, 0xc0000fff);
 
+	/*
+	 * Override default outer_cache.disable with a OMAP4
+	 * specific one
+	*/
Minor comment - you need a space before the '*'
quoted hunk ↗ jump to hunk
+	outer_cache.disable = omap4_l2x0_disable;
+
 	return 0;
 }
 early_initcall(omap_l2_cache_init);
Thread (4 messages) 4 messages, 3 authors, last reply 2010-08-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help