summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-02-27 16:50:10 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-10 14:37:43 +0100
commit0fa9778895635ab3824caf34fd573562dd2b999c (patch)
treec36ef695d02146bd7ba83ba5ebeba45ddb52edc9 /virt/kvm/kvm_main.c
parentKVM: ioapic: Record edge-triggered interrupts delivery status (diff)
downloadlinux-0fa9778895635ab3824caf34fd573562dd2b999c.tar.xz
linux-0fa9778895635ab3824caf34fd573562dd2b999c.zip
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);
/*