]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/head.h
[SCSI] gdth: fix timer handling
[linux-2.6-omap-h63xx.git] / include / asm-sparc / head.h
index fcdba511633977559a3c2d3afbc76af406be6e6c..e6532c3e09c96efba0429780072f6224984c40b8 100644 (file)
        nop; \
        nop;
 
+#ifdef CONFIG_KGDB
+#define KGDB_TRAP(num) \
+       b kgdb_trap_low; \
+       rd %psr,%l0; \
+       nop; \
+       nop;
+#else
+#define KGDB_TRAP(num) \
+       BAD_TRAP(num)
+#endif
+
 /* The Get Condition Codes software trap for userland. */
 #define GETCC_TRAP \
         b getcc_trap_handler; mov %psr, %l0; nop; nop;