Title: [9020] trunk/arch/blackfin/mach-bf561/atomic.S: Bug[#6044] Forgot CSYNC in get_core_lock_noflush
- Revision
- 9020
- Author
- sonicz
- Date
- 2010-07-28 06:53:43 -0400 (Wed, 28 Jul 2010)
Log Message
Bug[#6044] Forgot CSYNC in get_core_lock_noflush
SMP kgdb runs into dead loop without this CSYNC when one core single
steps over get_core_lock_noflush and the other executes get_core_lock
as a slave node.
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf561/atomic.S (9019 => 9020)
--- trunk/arch/blackfin/mach-bf561/atomic.S 2010-07-28 09:14:59 UTC (rev 9019)
+++ trunk/arch/blackfin/mach-bf561/atomic.S 2010-07-28 10:53:43 UTC (rev 9020)
@@ -71,6 +71,8 @@
SSYNC(r2);
jump .Lretry_corelock_noflush
.Ldone_corelock_noflush:
+ nop;
+ CSYNC(r2);
rts;
ENDPROC(_get_core_lock_noflush)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits