Skip to content

Commit f01ebf8

Browse files
committed
KVM: x86/mmu: Delete the "dbg" module param
Delete KVM's "dbg" module param now that its usage in KVM is gone (it used to guard pgprintk() and rmap_printk()). Link: https://lore.kernel.org/r/20230729004722.1056172-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent ed50186 commit f01ebf8

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

arch/x86/kvm/mmu/mmu.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ static int max_huge_page_level __read_mostly;
115115
static int tdp_root_level __read_mostly;
116116
static int max_tdp_level __read_mostly;
117117

118-
#ifdef MMU_DEBUG
119-
bool dbg = 0;
120-
module_param(dbg, bool, 0644);
121-
#endif
122-
123118
#define PTE_PREFETCH_NUM 8
124119

125120
#include <trace/events/kvm.h>

arch/x86/kvm/mmu/mmu_internal.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#undef MMU_DEBUG
1010

1111
#ifdef MMU_DEBUG
12-
extern bool dbg;
13-
1412
#define MMU_WARN_ON(x) WARN_ON(x)
1513
#else
1614
#define MMU_WARN_ON(x) do { } while (0)

0 commit comments

Comments
 (0)