Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 13:44:46 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322578 - head/sys/amd64/sgx
Message-ID:  <201708161344.v7GDikSs054858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Wed Aug 16 13:44:46 2017
New Revision: 322578
URL: https://svnweb.freebsd.org/changeset/base/322578

Log:
  Rename macro DEBUG to SGX_DEBUG.
  
  This fixes LINT kernel build.
  
  Reported by:	lwhsu
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/amd64/sgx/sgx.c

Modified: head/sys/amd64/sgx/sgx.c
==============================================================================
--- head/sys/amd64/sgx/sgx.c	Wed Aug 16 13:06:26 2017	(r322577)
+++ head/sys/amd64/sgx/sgx.c	Wed Aug 16 13:44:46 2017	(r322578)
@@ -154,10 +154,10 @@ __FBSDID("$FreeBSD$");
 
 #include <amd64/sgx/sgxvar.h>
 
-#define	DEBUG
-#undef	DEBUG
+#define	SGX_DEBUG
+#undef	SGX_DEBUG
 
-#ifdef	DEBUG
+#ifdef	SGX_DEBUG
 #define	dprintf(fmt, ...)	printf(fmt, ##__VA_ARGS__)
 #else
 #define	dprintf(fmt, ...)



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