Skip to content

Commit

Permalink
kvm: mmu: delay mmu audit activation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sasha Levin authored and Gleb Natapov committed Nov 20, 2013
1 parent 2ecd1ab commit 521ee0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/mmu_audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 521ee0c

Please sign in to comment.