Skip to content

Commit

Permalink
KVM: Remove __init attributes for kvm_init_debug and kvm_init_msr_list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhang Xiantao authored and Avi Kivity committed Jan 30, 2008
1 parent 56919c5 commit a16b043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a16b043

Please sign in to comment.