Title: [4116] trunk/arch/blackfin/kernel/cplb-nompu/cacheinit.c: Fix [#3832] kernel build with Debug option enabled fails to boot up - writes to I/ DMEM_CONTROL must be followed by SSYNC
Revision
4116
Author
hennerich
Date
2008-01-18 05:25:29 -0600 (Fri, 18 Jan 2008)

Log Message

Fix [#3832] kernel build with Debug option enabled fails to boot up - writes to I/DMEM_CONTROL must be followed by SSYNC

Diffstat

 cacheinit.c |    2 ++
 1 files changed, 2 insertions(+)

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/cplb-nompu/cacheinit.c (4115 => 4116)


--- trunk/arch/blackfin/kernel/cplb-nompu/cacheinit.c	2008-01-18 10:29:57 UTC (rev 4115)
+++ trunk/arch/blackfin/kernel/cplb-nompu/cacheinit.c	2008-01-18 11:25:29 UTC (rev 4116)
@@ -42,6 +42,7 @@
 	ctrl = bfin_read_IMEM_CONTROL();
 	ctrl |= IMC | ENICPLB;
 	bfin_write_IMEM_CONTROL(ctrl);
+	SSYNC();
 }
 #endif
 
@@ -63,5 +64,6 @@
 	ctrl = bfin_read_DMEM_CONTROL();
 	ctrl |= DMEM_CNTR;
 	bfin_write_DMEM_CONTROL(ctrl);
+	SSYNC();
 }
 #endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to