Commit a16b043c authored by Zhang Xiantao's avatar Zhang Xiantao Committed by 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: default avatarZhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 56919c5c
......@@ -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;
......
......@@ -1049,7 +1049,7 @@ long kvm_arch_vm_ioctl(struct file *filp,
return r;
}
static __init void kvm_init_msr_list(void)
static void kvm_init_msr_list(void)
{
u32 dummy[2];
unsigned i, j;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment