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/kernel/apic.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/kernel/apic.c')
-rw-r--r-- | arch/x86/kernel/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index c6f15647eba9..b6740de18fbb 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -1171,7 +1171,7 @@ void __cpuinit setup_local_APIC(void) | |||
1171 | * Double-check whether this APIC is really registered. | 1171 | * Double-check whether this APIC is really registered. |
1172 | * This is meaningless in clustered apic mode, so we skip it. | 1172 | * This is meaningless in clustered apic mode, so we skip it. |
1173 | */ | 1173 | */ |
1174 | if (!apic_id_registered()) | 1174 | if (!apic->apic_id_registered()) |
1175 | BUG(); | 1175 | BUG(); |
1176 | 1176 | ||
1177 | /* | 1177 | /* |