summaryrefslogtreecommitdiff
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-16 14:38:21 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:04 +0200
commita16b043cc96db4a01abb337bef4a51cebcfcbb1b (patch)
tree0786a83deea1dc26a2a6d47165dba5b8912aa467 /drivers/kvm/kvm_main.c
parent56919c5c97aa07b150311c5c9802af07872ee2b0 (diff)
downloadlwn-a16b043cc96db4a01abb337bef4a51cebcfcbb1b.tar.gz
lwn-a16b043cc96db4a01abb337bef4a51cebcfcbb1b.zip
KVM: Remove __init attributes for kvm_init_debug and kvm_init_msr_list
Since their callers are not declared with __init. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r--drivers/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 7335435f528e..e24489b409cf 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -1332,7 +1332,7 @@ static u64 stat_get(void *_offset)
DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n");
-static __init void kvm_init_debug(void)
+static void kvm_init_debug(void)
{
struct kvm_stats_debugfs_item *p;