]> err.no Git - linux-2.6/blobdiff - include/asm-sparc/head.h
drm/radeon: IGP clean up register and magic numbers.
[linux-2.6] / include / asm-sparc / head.h
index fcdba511633977559a3c2d3afbc76af406be6e6c..7c35491a8b53d387ac477305fbed04092e68ee76 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: head.h,v 1.39 2000/05/26 22:18:45 ecd Exp $ */
 #ifndef __SPARC_HEAD_H
 #define __SPARC_HEAD_H
 
        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;