diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-11-16 01:38:21 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:04 -0500 |
commit | a16b043cc96db4a01abb337bef4a51cebcfcbb1b (patch) | |
tree | 0786a83deea1dc26a2a6d47165dba5b8912aa467 | |
parent | 56919c5c97aa07b150311c5c9802af07872ee2b0 (diff) |
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>
-rw-r--r-- | drivers/kvm/kvm_main.c | 2 | ||||
-rw-r--r-- | drivers/kvm/x86.c | 2 |
2 files changed, 2 insertions, 2 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) | |||
1332 | 1332 | ||
1333 | DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n"); | 1333 | DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n"); |
1334 | 1334 | ||
1335 | static __init void kvm_init_debug(void) | 1335 | static void kvm_init_debug(void) |
1336 | { | 1336 | { |
1337 | struct kvm_stats_debugfs_item *p; | 1337 | struct kvm_stats_debugfs_item *p; |
1338 | 1338 | ||
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index f1746afab9e5..abb7beeb8f54 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c | |||
@@ -1049,7 +1049,7 @@ out: | |||
1049 | return r; | 1049 | return r; |
1050 | } | 1050 | } |
1051 | 1051 | ||
1052 | static __init void kvm_init_msr_list(void) | 1052 | static void kvm_init_msr_list(void) |
1053 | { | 1053 | { |
1054 | u32 dummy[2]; | 1054 | u32 dummy[2]; |
1055 | unsigned i, j; | 1055 | unsigned i, j; |