]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
x86: Remove definition of DEBUG
authorTom Rix <trix@redhat.com>
Thu, 14 Jan 2021 21:28:27 +0000 (13:28 -0800)
committerBorislav Petkov <bp@suse.de>
Fri, 15 Jan 2021 07:23:10 +0000 (08:23 +0100)
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
arch/x86/kernel/cpu/mtrr/generic.c
arch/x86/kernel/cpu/mtrr/mtrr.c
arch/x86/kernel/pci-iommu_table.c
arch/x86/mm/mmio-mod.c

index 23ad8e953dfb1502a0dea9bdbc02a507c378bf8a..2cf4465d56936ad0c428c82d30afa7b2f45267d8 100644 (file)
@@ -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>
index 61eb26edc6d20aa8101756abc34f503266a6ab12..28c8a23aa42ee9b0fc253f6f34e883a334f4d8ba 100644 (file)
@@ -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>
index 2e9006c1e240884b5f5fa28e0b4e442f39d412c4..42e92ec62973b6a480c4ddbac62bc18ac27d4228 100644 (file)
@@ -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,
index bd7aff5c51f774b1712f0e15a689abbd8028e38f..cd768dafca9e9f711628989ae7a9ef298b57c979 100644 (file)
@@ -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>