diff options
author | Haitao Shan <hshan@google.com> | 2019-11-06 13:39:17 -0800 |
---|---|---|
committer | Haitao Shan <hshan@google.com> | 2019-11-06 13:39:17 -0800 |
commit | 5e1e4edf91bbd320dfd914b210a2f47d5533ac50 (patch) | |
tree | 54207657ffc86c9fc508046324aeded789325b34 /arch/x86/kvm/mmu_audit.c | |
parent | d9c0b9070fc0aca672f828bc7c34c093fca059a0 (diff) | |
download | aehd-5e1e4edf91bbd320dfd914b210a2f47d5533ac50.tar.gz |
Android Emulator Hypervisor Driver for AMD Processors 1.0
Diffstat (limited to 'arch/x86/kvm/mmu_audit.c')
-rwxr-xr-x[-rw-r--r--] | arch/x86/kvm/mmu_audit.c | 5 |
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 |