diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:39 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:39 -0400 |
commit | c750a66b0ebfcd8f4cb353ab37b286c8cd93ad10 (patch) | |
tree | a97f03edb6b38ffa69160b6f9ae5291138b2b231 /arch/i386/mach-generic/bigsmp.c | |
parent | c2b84d8d1a66a0a886de51f1bfef5c4f16c0c784 (diff) |
i386: move mach-generic
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/i386/mach-generic/bigsmp.c')
-rw-r--r-- | arch/i386/mach-generic/bigsmp.c | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/arch/i386/mach-generic/bigsmp.c b/arch/i386/mach-generic/bigsmp.c deleted file mode 100644 index 58a477baec30..000000000000 --- a/arch/i386/mach-generic/bigsmp.c +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | /* | ||
2 | * APIC driver for "bigsmp" XAPIC machines with more than 8 virtual CPUs. | ||
3 | * Drives the local APIC in "clustered mode". | ||
4 | */ | ||
5 | #define APIC_DEFINITION 1 | ||
6 | #include <linux/threads.h> | ||
7 | #include <linux/cpumask.h> | ||
8 | #include <asm/smp.h> | ||
9 | #include <asm/mpspec.h> | ||
10 | #include <asm/genapic.h> | ||
11 | #include <asm/fixmap.h> | ||
12 | #include <asm/apicdef.h> | ||
13 | #include <linux/kernel.h> | ||
14 | #include <linux/smp.h> | ||
15 | #include <linux/init.h> | ||
16 | #include <linux/dmi.h> | ||
17 | #include <asm/mach-bigsmp/mach_apic.h> | ||
18 | #include <asm/mach-bigsmp/mach_apicdef.h> | ||
19 | #include <asm/mach-bigsmp/mach_ipi.h> | ||
20 | #include <asm/mach-default/mach_mpparse.h> | ||
21 | |||
22 | static int dmi_bigsmp; /* can be set by dmi scanners */ | ||
23 | |||
24 | static int hp_ht_bigsmp(struct dmi_system_id *d) | ||
25 | { | ||
26 | #ifdef CONFIG_X86_GENERICARCH | ||
27 | printk(KERN_NOTICE "%s detected: force use of apic=bigsmp\n", d->ident); | ||
28 | dmi_bigsmp = 1; | ||
29 | #endif | ||
30 | return 0; | ||
31 | } | ||
32 | |||
33 | |||
34 | static struct dmi_system_id bigsmp_dmi_table[] = { | ||
35 | { hp_ht_bigsmp, "HP ProLiant DL760 G2", { | ||
36 | DMI_MATCH(DMI_BIOS_VENDOR, "HP"), | ||
37 | DMI_MATCH(DMI_BIOS_VERSION, "P44-"), | ||
38 | }}, | ||
39 | |||
40 | { hp_ht_bigsmp, "HP ProLiant DL740", { | ||
41 | DMI_MATCH(DMI_BIOS_VENDOR, "HP"), | ||
42 | DMI_MATCH(DMI_BIOS_VERSION, "P47-"), | ||
43 | }}, | ||
44 | { } | ||
45 | }; | ||
46 | |||
47 | |||
48 | static int probe_bigsmp(void) | ||
49 | { | ||
50 | if (def_to_bigsmp) | ||
51 | dmi_bigsmp = 1; | ||
52 | else | ||
53 | dmi_check_system(bigsmp_dmi_table); | ||
54 | return dmi_bigsmp; | ||
55 | } | ||
56 | |||
57 | struct genapic apic_bigsmp = APIC_INIT("bigsmp", probe_bigsmp); | ||