Commit b86cb292 authored by Tom Rix's avatar Tom Rix Committed by Borislav Petkov
Browse files

x86: Remove definition of DEBUG



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

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20210114212827.47584-1-trix@redhat.com
parent 11aa1415
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
 * 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)
 */
#define DEBUG

#include <linux/export.h>
#include <linux/init.h>
+0 −2
Original line number Diff line number Diff line
@@ -31,8 +31,6 @@
    System Programming Guide; Section 9.11. (1997 edition - PPro).
*/

#define DEBUG

#include <linux/types.h> /* FIXME: kvm_para.h needs this */

#include <linux/stop_machine.h>
+0 −3
Original line number Diff line number Diff line
@@ -4,9 +4,6 @@
#include <linux/string.h>
#include <linux/kallsyms.h>


#define DEBUG 1

static struct iommu_table_entry * __init
find_dependents_of(struct iommu_table_entry *start,
		   struct iommu_table_entry *finish,
+0 −2
Original line number Diff line number Diff line
@@ -10,8 +10,6 @@

#define pr_fmt(fmt) "mmiotrace: " fmt

#define DEBUG 1

#include <linux/moduleparam.h>
#include <linux/debugfs.h>
#include <linux/slab.h>