Commit a4f1d94e authored by Joe Perches's avatar Joe Perches Committed by Paolo Bonzini

KVM: PPC: Book3S HV: Make struct kernel_param_ops definition const

This should be const, so make it so.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Message-Id: <d130e88dd4c82a12d979da747cc0365c72c3ba15.1601770305.git.joe@perches.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 30031c2b
...@@ -111,7 +111,7 @@ module_param(one_vm_per_core, bool, S_IRUGO | S_IWUSR); ...@@ -111,7 +111,7 @@ module_param(one_vm_per_core, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(one_vm_per_core, "Only run vCPUs from the same VM on a core (requires indep_threads_mode=N)"); MODULE_PARM_DESC(one_vm_per_core, "Only run vCPUs from the same VM on a core (requires indep_threads_mode=N)");
#ifdef CONFIG_KVM_XICS #ifdef CONFIG_KVM_XICS
static struct kernel_param_ops module_param_ops = { static const struct kernel_param_ops module_param_ops = {
.set = param_set_int, .set = param_set_int,
.get = param_get_int, .get = param_get_int,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment