From: Sasha Levin Date: Tue, 19 Nov 2013 20:22:47 +0000 (-0500) Subject: kvm: mmu: delay mmu audit activation X-Git-Tag: upstream/snapshot3+hdmi~3898^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=521ee0cfb876dd31ce4e0878e1163fe0817a7acc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Gleb Natapov --- diff --git a/arch/x86/kvm/mmu_audit.c b/arch/x86/kvm/mmu_audit.c index daff69e..1185fe7 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);