diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 08:50:47 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 01:20:20 +0300 |
commit | e2d40b1878bd13ca1028ddd299c48e4821ac3535 (patch) | |
tree | 6b2a69b3323346137e7146537edd1118dcce7862 /arch/x86/mach-generic/bigsmp.c | |
parent | 2e867b17cc02e1799f18126af0ddd7b63dd8f6f4 (diff) | |
download | linux-e2d40b1878bd13ca1028ddd299c48e4821ac3535.tar.xz |
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 6da251aa9f4e..391cc99cd21c 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[] = { { } }; -static void vector_allocation_domain(int cpu, cpumask_t *retmask) +static void bigsmp_vector_allocation_domain(int cpu, cpumask_t *retmask) { cpus_clear(*retmask); cpu_set(cpu, *retmask); @@ -74,7 +74,7 @@ struct genapic apic_bigsmp = { .check_apicid_used = bigsmp_check_apicid_used, .check_apicid_present = bigsmp_check_apicid_present, - .vector_allocation_domain = vector_allocation_domain, + .vector_allocation_domain = bigsmp_vector_allocation_domain, .init_apic_ldr = init_apic_ldr, .ioapic_phys_id_map = ioapic_phys_id_map, |