KVM: powerpc: fix some init/exit annotations
[safe/jmp/linux-2.6] / arch / powerpc / kvm / 44x.c
index 0cef809..f4d1b55 100644 (file)
@@ -138,7 +138,7 @@ void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu)
        kmem_cache_free(kvm_vcpu_cache, vcpu_44x);
 }
 
-static int kvmppc_44x_init(void)
+static int __init kvmppc_44x_init(void)
 {
        int r;
 
@@ -149,7 +149,7 @@ static int kvmppc_44x_init(void)
        return kvm_init(NULL, sizeof(struct kvmppc_vcpu_44x), THIS_MODULE);
 }
 
-static void kvmppc_44x_exit(void)
+static void __exit kvmppc_44x_exit(void)
 {
        kvmppc_booke_exit();
 }