|
@@ -345,7 +345,7 @@ static void __init init_cyrix(struct cpuinfo_x86 *c)
|
|
|
/*
|
|
|
* Handle National Semiconductor branded processors
|
|
|
*/
|
|
|
-static void __devinit init_nsc(struct cpuinfo_x86 *c)
|
|
|
+static void __init init_nsc(struct cpuinfo_x86 *c)
|
|
|
{
|
|
|
/* There may be GX1 processors in the wild that are branded
|
|
|
* NSC and not Cyrix.
|
|
@@ -444,6 +444,14 @@ int __init cyrix_init_cpu(void)
|
|
|
|
|
|
//early_arch_initcall(cyrix_init_cpu);
|
|
|
|
|
|
+static int __init cyrix_exit_cpu(void)
|
|
|
+{
|
|
|
+ cpu_devs[X86_VENDOR_CYRIX] = NULL;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+late_initcall(cyrix_exit_cpu);
|
|
|
+
|
|
|
static struct cpu_dev nsc_cpu_dev __initdata = {
|
|
|
.c_vendor = "NSC",
|
|
|
.c_ident = { "Geode by NSC" },
|
|
@@ -458,3 +466,11 @@ int __init nsc_init_cpu(void)
|
|
|
}
|
|
|
|
|
|
//early_arch_initcall(nsc_init_cpu);
|
|
|
+
|
|
|
+static int __init nsc_exit_cpu(void)
|
|
|
+{
|
|
|
+ cpu_devs[X86_VENDOR_NSC] = NULL;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+late_initcall(nsc_exit_cpu);
|