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> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
350c49fdea
commit
c4f92cfe02
|
@ -115,11 +115,6 @@ static int max_huge_page_level __read_mostly;
|
||||||
static int tdp_root_level __read_mostly;
|
static int tdp_root_level __read_mostly;
|
||||||
static int max_tdp_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
|
#define PTE_PREFETCH_NUM 8
|
||||||
|
|
||||||
#include <trace/events/kvm.h>
|
#include <trace/events/kvm.h>
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
#undef MMU_DEBUG
|
#undef MMU_DEBUG
|
||||||
|
|
||||||
#ifdef MMU_DEBUG
|
#ifdef MMU_DEBUG
|
||||||
extern bool dbg;
|
|
||||||
|
|
||||||
#define MMU_WARN_ON(x) WARN_ON(x)
|
#define MMU_WARN_ON(x) WARN_ON(x)
|
||||||
#else
|
#else
|
||||||
#define MMU_WARN_ON(x) do { } while (0)
|
#define MMU_WARN_ON(x) do { } while (0)
|
||||||
|
|
Loading…
Reference in New Issue