summaryrefslogtreecommitdiff
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-02-27 18:50:10 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-10 16:37:43 +0300
commit0fa9778895635ab3824caf34fd573562dd2b999c (patch)
treec36ef695d02146bd7ba83ba5ebeba45ddb52edc9 /virt/kvm/kvm_main.c
parent5bda6eed2e3626f40f2602a8fed72007f1fafaf8 (diff)
downloadlinux-0fa9778895635ab3824caf34fd573562dd2b999c.tar.xz
KVM: make halt_poll_ns static
halt_poll_ns is used only locally. Make it static. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 36ab89dfbf62..b1d6a161eafa 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -66,7 +66,7 @@
MODULE_AUTHOR("Qumranet");
MODULE_LICENSE("GPL");
-unsigned int halt_poll_ns = 0;
+static unsigned int halt_poll_ns;
module_param(halt_poll_ns, uint, S_IRUGO | S_IWUSR);
/*