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/default.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/default.c')
-rw-r--r-- | arch/x86/mach-generic/default.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c index 477ebec16749..bf4670db25fe 100644 --- a/arch/x86/mach-generic/default.c +++ b/arch/x86/mach-generic/default.c | |||
@@ -78,10 +78,10 @@ struct genapic apic_default = { | |||
78 | .cpu_mask_to_apicid = default_cpu_mask_to_apicid, | 78 | .cpu_mask_to_apicid = default_cpu_mask_to_apicid, |
79 | .cpu_mask_to_apicid_and = default_cpu_mask_to_apicid_and, | 79 | .cpu_mask_to_apicid_and = default_cpu_mask_to_apicid_and, |
80 | 80 | ||
81 | .send_IPI_mask = send_IPI_mask, | 81 | .send_IPI_mask = default_send_IPI_mask, |
82 | .send_IPI_mask_allbutself = NULL, | 82 | .send_IPI_mask_allbutself = NULL, |
83 | .send_IPI_allbutself = send_IPI_allbutself, | 83 | .send_IPI_allbutself = default_send_IPI_allbutself, |
84 | .send_IPI_all = send_IPI_all, | 84 | .send_IPI_all = default_send_IPI_all, |
85 | .send_IPI_self = NULL, | 85 | .send_IPI_self = NULL, |
86 | 86 | ||
87 | .wakeup_cpu = NULL, | 87 | .wakeup_cpu = NULL, |