From 7dea76609b97c458a43d534d6344f35605404b84 Mon Sep 17 00:00:00 2001
From: Ruslan Bukin
Date: Wed, 16 Aug 2017 13:44:46 +0000
Subject: [PATCH] Rename macro DEBUG to SGX_DEBUG.
This fixes LINT kernel build.
Reported by: lwhsu
Sponsored by: DARPA, AFRL
---
sys/amd64/sgx/sgx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/amd64/sgx/sgx.c b/sys/amd64/sgx/sgx.c
index 13fa15b5ea6a..fb40cb5582f7 100644
--- a/sys/amd64/sgx/sgx.c
+++ b/sys/amd64/sgx/sgx.c
@@ -154,10 +154,10 @@ __FBSDID("$FreeBSD$");
#include
-#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, ...)