diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 09:42:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:31 -0500 |
commit | dac5f4121df3c39fdb2ea57acd669a0ae19e46f8 (patch) | |
tree | c3dde8b525b1a8e73732bdffdb7e819f4a14fd3a /arch/x86/mach-generic/bigsmp.c | |
parent | debccb3e77be52cfc26c5a99e123c114c5c72aeb (diff) |
x86, apic: untangle the send_IPI_*() jungle
Our send_IPI_*() methods and definitions are a twisted mess: the same
symbol is defined to different things depending on .config details,
in a non-transparent way.
- spread out the quirks into separately named per apic driver methods
- prefix the standard PC methods with default_
- get rid of wrapper macro obfuscation
- clean up various details
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 22c2c7b8e4ab..4782b5547881 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -97,10 +97,10 @@ struct genapic apic_bigsmp = { | |||
97 | .cpu_mask_to_apicid = bigsmp_cpu_mask_to_apicid, | 97 | .cpu_mask_to_apicid = bigsmp_cpu_mask_to_apicid, |
98 | .cpu_mask_to_apicid_and = bigsmp_cpu_mask_to_apicid_and, | 98 | .cpu_mask_to_apicid_and = bigsmp_cpu_mask_to_apicid_and, |
99 | 99 | ||
100 | .send_IPI_mask = send_IPI_mask, | 100 | .send_IPI_mask = default_send_IPI_mask, |
101 | .send_IPI_mask_allbutself = NULL, | 101 | .send_IPI_mask_allbutself = NULL, |
102 | .send_IPI_allbutself = send_IPI_allbutself, | 102 | .send_IPI_allbutself = bigsmp_send_IPI_allbutself, |
103 | .send_IPI_all = send_IPI_all, | 103 | .send_IPI_all = bigsmp_send_IPI_all, |
104 | .send_IPI_self = NULL, | 104 | .send_IPI_self = NULL, |
105 | 105 | ||
106 | .wakeup_cpu = NULL, | 106 | .wakeup_cpu = NULL, |