Skip to content

Commit

Permalink
KVM: x86/mmu: Delete the "dbg" module param
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sean-jc committed Aug 3, 2023
1 parent ed50186 commit f01ebf8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions arch/x86/kvm/mmu/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ static int max_huge_page_level __read_mostly;
static int tdp_root_level __read_mostly;
static int max_tdp_level __read_mostly;

#ifdef MMU_DEBUG
bool dbg = 0;
module_param(dbg, bool, 0644);
#endif

#define PTE_PREFETCH_NUM 8

#include <trace/events/kvm.h>
Expand Down
2 changes: 0 additions & 2 deletions arch/x86/kvm/mmu/mmu_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#undef MMU_DEBUG

#ifdef MMU_DEBUG
extern bool dbg;

#define MMU_WARN_ON(x) WARN_ON(x)
#else
#define MMU_WARN_ON(x) do { } while (0)
Expand Down

0 comments on commit f01ebf8

Please sign in to comment.