Author: loos
Date: Thu Jan 23 12:02:04 2014
New Revision: 261077
URL: http://svnweb.freebsd.org/changeset/base/261077

Log:
  MFC r257127:
  
  Remove all the instances of '#undef DEBUG' from kernel.
  
  Suggested by: rpaulo
  Approved by:  adrian (mentor)

Modified:
  stable/10/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
  stable/10/sys/arm/lpc/if_lpe.c
  stable/10/sys/arm/lpc/lpc_mmc.c
  stable/10/sys/boot/uboot/lib/disk.c
  stable/10/sys/boot/uboot/lib/glue.c
  stable/10/sys/dev/cesa/cesa.c
  stable/10/sys/dev/fdt/fdt_slicer.c
  stable/10/sys/powerpc/mpc85xx/fsl_sdhc.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
==============================================================================
--- stable/10/sys/arm/broadcom/bcm2835/bcm2835_gpio.c   Thu Jan 23 10:18:28 
2014        (r261076)
+++ stable/10/sys/arm/broadcom/bcm2835/bcm2835_gpio.c   Thu Jan 23 12:02:04 
2014        (r261077)
@@ -55,8 +55,6 @@ __FBSDID("$FreeBSD$");
 
 #include "gpio_if.h"
 
-#undef DEBUG
-
 #ifdef DEBUG
 #define dprintf(fmt, args...) do { printf("%s(): ", __func__);   \
     printf(fmt,##args); } while (0)

Modified: stable/10/sys/arm/lpc/if_lpe.c
==============================================================================
--- stable/10/sys/arm/lpc/if_lpe.c      Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/arm/lpc/if_lpe.c      Thu Jan 23 12:02:04 2014        
(r261077)
@@ -65,9 +65,6 @@ __FBSDID("$FreeBSD$");
 
 #include "miibus_if.h"
 
-#define        DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);   \
     printf(fmt,##args); } while (0)

Modified: stable/10/sys/arm/lpc/lpc_mmc.c
==============================================================================
--- stable/10/sys/arm/lpc/lpc_mmc.c     Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/arm/lpc/lpc_mmc.c     Thu Jan 23 12:02:04 2014        
(r261077)
@@ -64,9 +64,6 @@ __FBSDID("$FreeBSD$");
 #include <arm/lpc/lpcreg.h>
 #include <arm/lpc/lpcvar.h>
 
-#define        DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);   \
     printf(fmt,##args); } while (0)

Modified: stable/10/sys/boot/uboot/lib/disk.c
==============================================================================
--- stable/10/sys/boot/uboot/lib/disk.c Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/boot/uboot/lib/disk.c Thu Jan 23 12:02:04 2014        
(r261077)
@@ -45,9 +45,6 @@ __FBSDID("$FreeBSD$");
 #include "glue.h"
 #include "libuboot.h"
 
-#define DEBUG
-#undef DEBUG
-
 #define stor_printf(fmt, args...) do {                 \
     printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit);        \
     printf(fmt, ##args);                               \

Modified: stable/10/sys/boot/uboot/lib/glue.c
==============================================================================
--- stable/10/sys/boot/uboot/lib/glue.c Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/boot/uboot/lib/glue.c Thu Jan 23 12:02:04 2014        
(r261077)
@@ -34,9 +34,6 @@ __FBSDID("$FreeBSD$");
 #include "api_public.h"
 #include "glue.h"
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define        debugf(fmt, args...) do { printf("%s(): ", __func__); 
printf(fmt,##args); } while (0)
 #else

Modified: stable/10/sys/dev/cesa/cesa.c
==============================================================================
--- stable/10/sys/dev/cesa/cesa.c       Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/dev/cesa/cesa.c       Thu Jan 23 12:02:04 2014        
(r261077)
@@ -71,8 +71,6 @@ __FBSDID("$FreeBSD$");
 #include <arm/mv/mvvar.h>
 #include "cesa.h"
 
-#undef DEBUG
-
 static int     cesa_probe(device_t);
 static int     cesa_attach(device_t);
 static int     cesa_detach(device_t);

Modified: stable/10/sys/dev/fdt/fdt_slicer.c
==============================================================================
--- stable/10/sys/dev/fdt/fdt_slicer.c  Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/dev/fdt/fdt_slicer.c  Thu Jan 23 12:02:04 2014        
(r261077)
@@ -35,9 +35,6 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/fdt/fdt_common.h>
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);  \
     printf(fmt,##args); } while (0)

Modified: stable/10/sys/powerpc/mpc85xx/fsl_sdhc.c
==============================================================================
--- stable/10/sys/powerpc/mpc85xx/fsl_sdhc.c    Thu Jan 23 10:18:28 2014        
(r261076)
+++ stable/10/sys/powerpc/mpc85xx/fsl_sdhc.c    Thu Jan 23 12:02:04 2014        
(r261077)
@@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$");
 
 #include "fsl_sdhc.h"
 
-#define DEBUG
-#undef DEBUG
 #ifdef DEBUG
 #define        DPRINTF(fmt, arg...)    printf("DEBUG %s(): " fmt, 
__FUNCTION__, ##arg)
 #else
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to