提交 a16b043c 编写于 作者: Z Zhang Xiantao 提交者: Avi Kivity

KVM: Remove __init attributes for kvm_init_debug and kvm_init_msr_list

Since their callers are not declared with __init.
Signed-off-by: NZhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 56919c5c
...@@ -1332,7 +1332,7 @@ static u64 stat_get(void *_offset) ...@@ -1332,7 +1332,7 @@ static u64 stat_get(void *_offset)
DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n"); 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; struct kvm_stats_debugfs_item *p;
......
...@@ -1049,7 +1049,7 @@ long kvm_arch_vm_ioctl(struct file *filp, ...@@ -1049,7 +1049,7 @@ long kvm_arch_vm_ioctl(struct file *filp,
return r; return r;
} }
static __init void kvm_init_msr_list(void) static void kvm_init_msr_list(void)
{ {
u32 dummy[2]; u32 dummy[2];
unsigned i, j; unsigned i, j;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册