summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/dbg.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-17 09:28:13 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-17 09:28:13 +0100
commit37ba1b62836d2440980cf553c49556393b05c6cd (patch)
tree3bbd9b76117d484d5a624db1b2b9ec0181c7ff55 /arch/m68k/include/asm/dbg.h
parentALSA: opl3sa2 fix irq releasing and short name of card (diff)
parentALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2 (diff)
downloadlinux-37ba1b62836d2440980cf553c49556393b05c6cd.tar.xz
linux-37ba1b62836d2440980cf553c49556393b05c6cd.zip
Merge branch 'fix/opl3sa2-suspend' into topic/isa-misc
Diffstat (limited to 'arch/m68k/include/asm/dbg.h')
-rw-r--r--arch/m68k/include/asm/dbg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/dbg.h b/arch/m68k/include/asm/dbg.h
new file mode 100644
index 000000000000..27af3270f671
--- /dev/null
+++ b/arch/m68k/include/asm/dbg.h
@@ -0,0 +1,6 @@
+#define DEBUG 1
+#ifdef CONFIG_COLDFIRE
+#define BREAK asm volatile ("halt")
+#else
+#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
+#endif