summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/mmu_audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/mmu_audit.c')
-rwxr-xr-x[-rw-r--r--]arch/x86/kvm/mmu_audit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu_audit.c b/arch/x86/kvm/mmu_audit.c
index dcce533..76050b1 100644..100755
--- a/arch/x86/kvm/mmu_audit.c
+++ b/arch/x86/kvm/mmu_audit.c
@@ -5,6 +5,7 @@
*
* Copyright (C) 2006 Qumranet, Inc.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
+ * Copyright 2019 Google LLC
*
* Authors:
* Yaniv Kamay <yaniv@qumranet.com>
@@ -17,6 +18,7 @@
*
*/
+#if 0
#include <linux/ratelimit.h>
char const *audit_point_name[] = {
@@ -278,7 +280,7 @@ static void mmu_audit_disable(void)
static int mmu_audit_set(const char *val, const struct kernel_param *kp)
{
int ret;
- unsigned long enable;
+ size_t enable;
ret = kstrtoul(val, 10, &enable);
if (ret < 0)
@@ -304,3 +306,4 @@ static const struct kernel_param_ops audit_param_ops = {
};
arch_param_cb(mmu_audit, &audit_param_ops, &mmu_audit, 0644);
+#endif