Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 16:58:20 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225991 - head/sys/arm/mv
Message-ID:  <201110041658.p94GwKep067588@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110041658.p94GwKep067588>