]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
x86/Centaur: drop __init annotations
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Oct 2015 15:49:51 +0000 (17:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 Oct 2015 15:49:51 +0000 (17:49 +0200)
Commit 6f8f53cc64 ("x86 cpu: Fix bug: unify cpu_dev attr as
__cpuinitdata") fixed centaur_cpu_dev's annotation without also fixing
the pointers hanging off of it. Even if CPU hotplig support may be
purely theoretical for Centaur, we should still not leave this as is.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/centaur.c

index 64730e508b577f0994899e55d71dc5f778d30518..66b199541d7eb2aa1464aea84de775912cf16e89 100644 (file)
@@ -15,7 +15,7 @@
 #define RNG_ENABLED    (1 << 3)
 #define RNG_ENABLE     (1 << 6)        /* MSR_VIA_RNG */
 
-static void __init init_c3(struct cpuinfo_x86 *c)
+static void init_c3(struct cpuinfo_x86 *c)
 {
        uint64_t msr_content;
 
@@ -54,7 +54,7 @@ static void __init init_c3(struct cpuinfo_x86 *c)
        display_cacheinfo(c);
 }
 
-static void __init init_centaur(struct cpuinfo_x86 *c)
+static void init_centaur(struct cpuinfo_x86 *c)
 {
        if (c->x86 == 6)
                init_c3(c);