From: Zhang Xiantao Date: Fri, 16 Nov 2007 06:38:21 +0000 (+0800) Subject: KVM: Remove __init attributes for kvm_init_debug and kvm_init_msr_list X-Git-Tag: v2.6.25-rc1~1138^2~142 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a16b043cc96db4a01abb337bef4a51cebcfcbb1b;p=karo-tx-linux.git 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 Signed-off-by: Avi Kivity --- 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; 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: return r; } -static __init void kvm_init_msr_list(void) +static void kvm_init_msr_list(void) { u32 dummy[2]; unsigned i, j;