svn commit: r225991 - head/sys/arm/mv
Marcel Moolenaar
marcel at FreeBSD.org
Tue Oct 4 16:58:20 UTC 2011
Author: marcel
Date: Tue Oct 4 16:58:20 2011
New Revision: 225991
URL: http://svn.freebsd.org/changeset/base/225991
Log:
Fix build when DEBUG is defined in the kernel configuration file (e.g.
LINT).
Modified:
head/sys/arm/mv/common.c
head/sys/arm/mv/mv_machdep.c
Modified: head/sys/arm/mv/common.c
==============================================================================
--- head/sys/arm/mv/common.c Tue Oct 4 16:55:53 2011 (r225990)
+++ head/sys/arm/mv/common.c Tue Oct 4 16:58:20 2011 (r225991)
@@ -49,9 +49,6 @@ __FBSDID("$FreeBSD$");
#define MAX_CPU_WIN 5
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
Modified: head/sys/arm/mv/mv_machdep.c
==============================================================================
--- head/sys/arm/mv/mv_machdep.c Tue Oct 4 16:55:53 2011 (r225990)
+++ head/sys/arm/mv/mv_machdep.c Tue Oct 4 16:58:20 2011 (r225991)
@@ -91,9 +91,6 @@ __FBSDID("$FreeBSD$");
#include <arm/mv/mvvar.h> /* XXX eventually this should be eliminated */
#include <arm/mv/mvwin.h>
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) printf(fmt, ##args)
#else
More information about the svn-src-all
mailing list