summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorSasha Levin2013-11-19 21:22:47 +0100
committerGleb Natapov2013-11-20 10:12:56 +0100
commit521ee0cfb876dd31ce4e0878e1163fe0817a7acc (patch)
treec082f0f39697f6d7d39a1986066716e73619f701 /arch/x86/kvm
parentMerge tag 'kvm-arm-fixes-3.13-1' of git://git.linaro.org/people/cdall/linux-k... (diff)
downloadkernel-qcow2-linux-521ee0cfb876dd31ce4e0878e1163fe0817a7acc.tar.gz
kernel-qcow2-linux-521ee0cfb876dd31ce4e0878e1163fe0817a7acc.tar.xz
kernel-qcow2-linux-521ee0cfb876dd31ce4e0878e1163fe0817a7acc.zip
kvm: mmu: delay mmu audit activation
We should not be using jump labels before they were initialized. Push back the callback to until after jump label initialization. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/mmu_audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu_audit.c b/arch/x86/kvm/mmu_audit.c
index daff69e21150..1185fe7a7f47 100644
--- a/arch/x86/kvm/mmu_audit.c
+++ b/arch/x86/kvm/mmu_audit.c
@@ -296,4 +296,4 @@ static struct kernel_param_ops audit_param_ops = {
.get = param_get_bool,
};
-module_param_cb(mmu_audit, &audit_param_ops, &mmu_audit, 0644);
+arch_param_cb(mmu_audit, &audit_param_ops, &mmu_audit, 0644);