diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 00:50:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:20 -0500 |
commit | e2d40b1878bd13ca1028ddd299c48e4821ac3535 (patch) | |
tree | 6b2a69b3323346137e7146537edd1118dcce7862 /arch/x86/mach-generic/bigsmp.c | |
parent | 2e867b17cc02e1799f18126af0ddd7b63dd8f6f4 (diff) |
x86, apic: clean up ->vector_allocation_domain()
- separate the namespace
- remove macros
- move the default vector-allocation-domain to mach-generic
- fix whitespace damage
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/bigsmp.c')
-rw-r--r-- | arch/x86/mach-generic/bigsmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 6da251aa9f4..391cc99cd21 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -42,7 +42,7 @@ static const struct dmi_system_id bigsmp_dmi_table[] = { | |||
42 | { } | 42 | { } |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static void vector_allocation_domain(int cpu, cpumask_t *retmask) | 45 | static void bigsmp_vector_allocation_domain(int cpu, cpumask_t *retmask) |
46 | { | 46 | { |
47 | cpus_clear(*retmask); | 47 | cpus_clear(*retmask); |
48 | cpu_set(cpu, *retmask); | 48 | cpu_set(cpu, *retmask); |
@@ -74,7 +74,7 @@ struct genapic apic_bigsmp = { | |||
74 | .check_apicid_used = bigsmp_check_apicid_used, | 74 | .check_apicid_used = bigsmp_check_apicid_used, |
75 | .check_apicid_present = bigsmp_check_apicid_present, | 75 | .check_apicid_present = bigsmp_check_apicid_present, |
76 | 76 | ||
77 | .vector_allocation_domain = vector_allocation_domain, | 77 | .vector_allocation_domain = bigsmp_vector_allocation_domain, |
78 | .init_apic_ldr = init_apic_ldr, | 78 | .init_apic_ldr = init_apic_ldr, |
79 | 79 | ||
80 | .ioapic_phys_id_map = ioapic_phys_id_map, | 80 | .ioapic_phys_id_map = ioapic_phys_id_map, |