diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 13:32:55 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 08:16:52 -0500 |
commit | 6bda2c8b32febeb38ee128047253751e080bad52 (patch) | |
tree | 7f6f78cf18cd69a44e987d985c57402d493d0dee /arch/x86/mach-generic | |
parent | 1164dd0099c0d79146a55319670f57ab7ad1d352 (diff) |
x86: remove subarchitecture support
Remove the 32-bit subarchitecture support code.
All subarchitectures but Voyager have been converted. Voyager will be
done later or will be removed.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic')
-rw-r--r-- | arch/x86/mach-generic/default.c | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c deleted file mode 100644 index d9d44c8c3db8..000000000000 --- a/arch/x86/mach-generic/default.c +++ /dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | /* | ||
2 | * Default generic APIC driver. This handles up to 8 CPUs. | ||
3 | */ | ||
4 | #define APIC_DEFINITION 1 | ||
5 | #include <linux/threads.h> | ||
6 | #include <linux/cpumask.h> | ||
7 | #include <asm/mpspec.h> | ||
8 | #include <asm/genapic.h> | ||
9 | #include <asm/fixmap.h> | ||
10 | #include <asm/apicdef.h> | ||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/string.h> | ||
13 | #include <linux/smp.h> | ||
14 | #include <linux/init.h> | ||
15 | #include <asm/genapic.h> | ||
16 | #include <asm/ipi.h> | ||
17 | |||
18 | static void default_vector_allocation_domain(int cpu, struct cpumask *retmask) | ||
19 | { | ||
20 | /* | ||
21 | * Careful. Some cpus do not strictly honor the set of cpus | ||
22 | * specified in the interrupt destination when using lowest | ||
23 | * priority interrupt delivery mode. | ||
24 | * | ||
25 | * In particular there was a hyperthreading cpu observed to | ||
26 | * deliver interrupts to the wrong hyperthread when only one | ||
27 | * hyperthread was specified in the interrupt desitination. | ||
28 | */ | ||
29 | *retmask = (cpumask_t) { { [0] = APIC_ALL_CPUS } }; | ||
30 | } | ||
31 | |||
32 | /* should be called last. */ | ||
33 | static int probe_default(void) | ||
34 | { | ||
35 | return 1; | ||
36 | } | ||
37 | |||
38 | struct genapic apic_default = { | ||
39 | |||
40 | .name = "default", | ||
41 | .probe = probe_default, | ||
42 | .acpi_madt_oem_check = NULL, | ||
43 | .apic_id_registered = default_apic_id_registered, | ||
44 | |||
45 | .irq_delivery_mode = dest_LowestPrio, | ||
46 | /* logical delivery broadcast to all CPUs: */ | ||
47 | .irq_dest_mode = 1, | ||
48 | |||
49 | .target_cpus = default_target_cpus, | ||
50 | .disable_esr = 0, | ||
51 | .dest_logical = APIC_DEST_LOGICAL, | ||
52 | .check_apicid_used = default_check_apicid_used, | ||
53 | .check_apicid_present = default_check_apicid_present, | ||
54 | |||
55 | .vector_allocation_domain = default_vector_allocation_domain, | ||
56 | .init_apic_ldr = default_init_apic_ldr, | ||
57 | |||
58 | .ioapic_phys_id_map = default_ioapic_phys_id_map, | ||
59 | .setup_apic_routing = default_setup_apic_routing, | ||
60 | .multi_timer_check = NULL, | ||
61 | .apicid_to_node = default_apicid_to_node, | ||
62 | .cpu_to_logical_apicid = default_cpu_to_logical_apicid, | ||
63 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | ||
64 | .apicid_to_cpu_present = default_apicid_to_cpu_present, | ||
65 | .setup_portio_remap = NULL, | ||
66 | .check_phys_apicid_present = default_check_phys_apicid_present, | ||
67 | .enable_apic_mode = NULL, | ||
68 | .phys_pkg_id = default_phys_pkg_id, | ||
69 | .mps_oem_check = NULL, | ||
70 | |||
71 | .get_apic_id = default_get_apic_id, | ||
72 | .set_apic_id = NULL, | ||
73 | .apic_id_mask = 0x0F << 24, | ||
74 | |||
75 | .cpu_mask_to_apicid = default_cpu_mask_to_apicid, | ||
76 | .cpu_mask_to_apicid_and = default_cpu_mask_to_apicid_and, | ||
77 | |||
78 | .send_IPI_mask = default_send_IPI_mask, | ||
79 | .send_IPI_mask_allbutself = NULL, | ||
80 | .send_IPI_allbutself = default_send_IPI_allbutself, | ||
81 | .send_IPI_all = default_send_IPI_all, | ||
82 | .send_IPI_self = NULL, | ||
83 | |||
84 | .wakeup_cpu = NULL, | ||
85 | .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, | ||
86 | .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, | ||
87 | |||
88 | .wait_for_init_deassert = default_wait_for_init_deassert, | ||
89 | |||
90 | .smp_callin_clear_local_apic = NULL, | ||
91 | .store_NMI_vector = NULL, | ||
92 | .inquire_remote_apic = default_inquire_remote_apic, | ||
93 | }; | ||