projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30031c2
)
KVM: PPC: Book3S HV: Make struct kernel_param_ops definition const
author
Joe Perches
<joe@perches.com>
Sun, 4 Oct 2020 00:18:06 +0000
(17:18 -0700)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 21 Oct 2020 21:48:51 +0000
(17:48 -0400)
This should be const, so make it so.
Signed-off-by: Joe Perches <joe@perches.com>
Message-Id: <
d130e88dd4c82a12d979da747cc0365c72c3ba15
.
1601770305
.git.joe@perches.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/powerpc/kvm/book3s_hv.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/book3s_hv.c
b/arch/powerpc/kvm/book3s_hv.c
index 490a0f6a72855753d13b99f664214106c4011330..52d85c2d4970363bca2e2542cea9f41122dab749 100644
(file)
--- a/
arch/powerpc/kvm/book3s_hv.c
+++ b/
arch/powerpc/kvm/book3s_hv.c
@@
-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)");
#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,
.get = param_get_int,
};