diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-28 11:02:42 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:55:05 -0500 |
commit | e8ba5d311d0c4420e84f40ff50f83981f5864a9a (patch) | |
tree | 0459d353b8721ab541c6438fe0d051e050fcf723 /virt | |
parent | f3fd92fbdb7663bd889c136842afc3851351ea8f (diff) |
KVM: fix sparse warning
Impact: make global function static
virt/kvm/kvm_main.c:85:6: warning: symbol 'kvm_rebooting' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 54d25e6f6d2d..8dab7cedd50b 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -82,7 +82,7 @@ struct dentry *kvm_debugfs_dir; | |||
82 | static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl, | 82 | static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl, |
83 | unsigned long arg); | 83 | unsigned long arg); |
84 | 84 | ||
85 | bool kvm_rebooting; | 85 | static bool kvm_rebooting; |
86 | 86 | ||
87 | #ifdef KVM_CAP_DEVICE_ASSIGNMENT | 87 | #ifdef KVM_CAP_DEVICE_ASSIGNMENT |
88 | 88 | ||