x86: Remove definition of DEBUG

Defining DEBUG should only be done in development. So remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20210114212827.47584-1-trix@redhat.com
This commit is contained in:
Tom Rix 2021-01-14 13:28:27 -08:00 committed by Borislav Petkov
parent 11aa1415d8
commit b86cb29287
4 changed files with 0 additions and 8 deletions

View File

@ -3,7 +3,6 @@
* This only handles 32bit MTRR on 32bit hosts. This is strictly wrong * This only handles 32bit MTRR on 32bit hosts. This is strictly wrong
* because MTRRs can span up to 40 bits (36bits on most modern x86) * because MTRRs can span up to 40 bits (36bits on most modern x86)
*/ */
#define DEBUG
#include <linux/export.h> #include <linux/export.h>
#include <linux/init.h> #include <linux/init.h>

View File

@ -31,8 +31,6 @@
System Programming Guide; Section 9.11. (1997 edition - PPro). System Programming Guide; Section 9.11. (1997 edition - PPro).
*/ */
#define DEBUG
#include <linux/types.h> /* FIXME: kvm_para.h needs this */ #include <linux/types.h> /* FIXME: kvm_para.h needs this */
#include <linux/stop_machine.h> #include <linux/stop_machine.h>

View File

@ -4,9 +4,6 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/kallsyms.h> #include <linux/kallsyms.h>
#define DEBUG 1
static struct iommu_table_entry * __init static struct iommu_table_entry * __init
find_dependents_of(struct iommu_table_entry *start, find_dependents_of(struct iommu_table_entry *start,
struct iommu_table_entry *finish, struct iommu_table_entry *finish,

View File

@ -10,8 +10,6 @@
#define pr_fmt(fmt) "mmiotrace: " fmt #define pr_fmt(fmt) "mmiotrace: " fmt
#define DEBUG 1
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/slab.h> #include <linux/slab.h>