From eeb17bdd0243d8fbd7015b9eee5972e7c524ed1a Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Thu, 5 Aug 2010 07:58:15 +0000 Subject: [PATCH] --- yaml --- r: 251386 b: refs/heads/master c: c505217ca058aa4bcb0cba7bc6b2d228120b3e3e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/blackfin/include/asm/kgdb.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6bf4735c57dc..a76f42edcfe4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2951acba8510a37c6b56f8481906a809c5eb3b0e +refs/heads/master: c505217ca058aa4bcb0cba7bc6b2d228120b3e3e diff --git a/trunk/arch/blackfin/include/asm/kgdb.h b/trunk/arch/blackfin/include/asm/kgdb.h index 8651afe12990..3ac0c72e9fee 100644 --- a/trunk/arch/blackfin/include/asm/kgdb.h +++ b/trunk/arch/blackfin/include/asm/kgdb.h @@ -103,7 +103,11 @@ static inline void arch_kgdb_breakpoint(void) 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 HW_INST_WATCHPOINT_NUM 6 #define HW_WATCHPOINT_NUM 8 #define TYPE_INST_WATCHPOINT 0