diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 21:43:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:12 -0500 |
commit | 7ed248daa56156f2fd7175f90b62fc6397b0c7b7 (patch) | |
tree | 7b03f5fa08ee6cec1c7af4e8b0327a4ac8f882cd /arch/x86/mach-generic/bigsmp.c | |
parent | 306db03b0d71bf9c94155c0c4771a79fc70b4b27 (diff) |
x86: clean up apic->apic_id_registered() methods
Impact: cleanup
x86 subarchitectures each defined a "apic_id_registered()" method,
which could be an inline function depending on which subarch we build
for, and which was also the name of a genapic field.
Untangle this namespace spaghetti by giving each of the instances
a separate name.
Also remove wrapper macro obfuscation.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 22c3608b80dd..17abf5c62429 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -62,7 +62,7 @@ struct genapic apic_bigsmp = { | |||
62 | .name = "bigsmp", | 62 | .name = "bigsmp", |
63 | .probe = probe_bigsmp, | 63 | .probe = probe_bigsmp, |
64 | .acpi_madt_oem_check = NULL, | 64 | .acpi_madt_oem_check = NULL, |
65 | .apic_id_registered = apic_id_registered, | 65 | .apic_id_registered = bigsmp_apic_id_registered, |
66 | 66 | ||
67 | .int_delivery_mode = INT_DELIVERY_MODE, | 67 | .int_delivery_mode = INT_DELIVERY_MODE, |
68 | .int_dest_mode = INT_DEST_MODE, | 68 | .int_dest_mode = INT_DEST_MODE, |