svn commit: r257127 - in head/sys: arm/broadcom/bcm2835 arm/lpc boot/uboot/lib dev/cesa dev/fdt powerpc/mpc85xx
Luiz Otavio O Souza
loos at FreeBSD.org
Fri Oct 25 18:38:46 UTC 2013
Author: loos
Date: Fri Oct 25 18:38:44 2013
New Revision: 257127
URL: http://svnweb.freebsd.org/changeset/base/257127
Log:
Remove all the instances of '#undef DEBUG' from kernel.
Suggested by: rpaulo
Approved by: adrian (mentor)
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
head/sys/arm/lpc/if_lpe.c
head/sys/arm/lpc/lpc_mmc.c
head/sys/boot/uboot/lib/disk.c
head/sys/boot/uboot/lib/glue.c
head/sys/dev/cesa/cesa.c
head/sys/dev/fdt/fdt_slicer.c
head/sys/powerpc/mpc85xx/fsl_sdhc.c
Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
==============================================================================
--- head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -56,8 +56,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: head/sys/arm/lpc/if_lpe.c
==============================================================================
--- head/sys/arm/lpc/if_lpe.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/arm/lpc/if_lpe.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -64,9 +64,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: head/sys/arm/lpc/lpc_mmc.c
==============================================================================
--- head/sys/arm/lpc/lpc_mmc.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/arm/lpc/lpc_mmc.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -65,9 +65,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: head/sys/boot/uboot/lib/disk.c
==============================================================================
--- head/sys/boot/uboot/lib/disk.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/boot/uboot/lib/disk.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -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: head/sys/boot/uboot/lib/glue.c
==============================================================================
--- head/sys/boot/uboot/lib/glue.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/boot/uboot/lib/glue.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -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: head/sys/dev/cesa/cesa.c
==============================================================================
--- head/sys/dev/cesa/cesa.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/dev/cesa/cesa.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -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: head/sys/dev/fdt/fdt_slicer.c
==============================================================================
--- head/sys/dev/fdt/fdt_slicer.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/dev/fdt/fdt_slicer.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -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: head/sys/powerpc/mpc85xx/fsl_sdhc.c
==============================================================================
--- head/sys/powerpc/mpc85xx/fsl_sdhc.c Fri Oct 25 17:15:57 2013 (r257126)
+++ head/sys/powerpc/mpc85xx/fsl_sdhc.c Fri Oct 25 18:38:44 2013 (r257127)
@@ -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
More information about the svn-src-all
mailing list