PATCH: Remove #define DEBUG in octeon kernel source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PATCH: Remove #define DEBUG in octeon kernel source

William Orr-2
Remove #define DEBUG in octeon kernel. Breaks build if building
the kernel with DEBUG set in config.

Index: octeon/machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/octeon/machdep.c,v
retrieving revision 1.41
diff -u -b -w -p -r1.41 machdep.c
--- octeon/machdep.c 28 Sep 2013 12:40:31 -0000 1.41
+++ octeon/machdep.c 20 Oct 2013 19:37:25 -0000
@@ -393,7 +393,6 @@ mips_init(__register_t a0, __register_t
  consinit();
  printf("Initial setup done, switching console.\n");
 
-#define DEBUG
 #ifdef DEBUG
 #define DUMP_BOOT_DESC(field, format) \
  printf("boot_desc->" #field ":" #format "\n", boot_desc->field)