svn commit: r322578 - head/sys/amd64/sgx
Ruslan Bukin
br at FreeBSD.org
Wed Aug 16 13:44:47 UTC 2017
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, ...)
More information about the svn-src-all
mailing list