Title: [9054] trunk/arch/blackfin/include/asm/kgdb.h: Fix bug[#6044] Forgot some changes in patch to switch cpu in smp kernel.
- Revision
- 9054
- Author
- sonicz
- Date
- 2010-08-05 03:58:15 -0400 (Thu, 05 Aug 2010)
Log Message
Fix bug[#6044] Forgot some changes in patch to switch cpu in smp kernel.
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/kgdb.h (9053 => 9054)
--- trunk/arch/blackfin/include/asm/kgdb.h 2010-08-05 07:56:37 UTC (rev 9053)
+++ trunk/arch/blackfin/include/asm/kgdb.h 2010-08-05 07:58:15 UTC (rev 9054)
@@ -103,7 +103,11 @@
asm("EXCPT 2;");
}
#define BREAK_INSTR_SIZE 2
-#define CACHE_FLUSH_IS_SAFE 1
+#ifdef CONFIG_SMP
+# define CACHE_FLUSH_IS_SAFE 0
+#else
+# define CACHE_FLUSH_IS_SAFE 1
+#endif
#define GDB_ADJUSTS_BREAK_OFFSET
#define GDB_SKIP_HW_WATCH_TEST
#define HW_INST_WATCHPOINT_NUM 6
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits