summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/smp.h
diff options
context:
space:
mode:
authorDavid Howells2011-03-18 17:54:30 +0100
committerDavid Howells2011-03-18 17:54:30 +0100
commit67ddb4052daac9d449caf2643ac365d42a04219a (patch)
tree7c610973a19b7e70b47294c540b182f203680fde /arch/mn10300/include/asm/smp.h
parentMN10300: Create general kernel debugger cache flushing (diff)
downloadkernel-qcow2-linux-67ddb4052daac9d449caf2643ac365d42a04219a.tar.gz
kernel-qcow2-linux-67ddb4052daac9d449caf2643ac365d42a04219a.tar.xz
kernel-qcow2-linux-67ddb4052daac9d449caf2643ac365d42a04219a.zip
MN10300: Create generic kernel debugger hooks
Create generic kernel debugger hooks in the MN10300 arch and make gdbstub use them. This is a preparation for KGDB support. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/include/asm/smp.h')
-rw-r--r--arch/mn10300/include/asm/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/smp.h b/arch/mn10300/include/asm/smp.h
index a3930e43a958..e3d13a899855 100644
--- a/arch/mn10300/include/asm/smp.h
+++ b/arch/mn10300/include/asm/smp.h
@@ -34,7 +34,7 @@
#define LOCAL_TIMER_IPI 193
#define FLUSH_CACHE_IPI 194
#define CALL_FUNCTION_NMI_IPI 195
-#define GDB_NMI_IPI 196
+#define DEBUGGER_NMI_IPI 196
#define SMP_BOOT_IRQ 195
@@ -43,6 +43,7 @@
#define LOCAL_TIMER_GxICR_LV GxICR_LEVEL_4
#define FLUSH_CACHE_GxICR_LV GxICR_LEVEL_0
#define SMP_BOOT_GxICR_LV GxICR_LEVEL_0
+#define DEBUGGER_GxICR_LV CONFIG_DEBUGGER_IRQ_LEVEL
#define TIME_OUT_COUNT_BOOT_IPI 100
#define DELAY_TIME_BOOT_IPI 75000