diff options
author | Jon Loeliger <linuxppc@jdl.com> | 2005-09-17 11:35:08 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-18 19:38:49 -0400 |
commit | f495a8bfd6a52cf32859f93d5320bb234d8a9560 (patch) | |
tree | b3159974aa2dc6de8406af66bc3b1ac5b10e4f94 /arch/ppc/platforms/pmac_smp.c | |
parent | 7da8f8600a4751d7f0248e00d973901b7371fabc (diff) |
[PATCH] powerpc: Remove sections use from ppc
Here is a new patch that removes all notion of the pmac, prep,
chrp and openfirmware initialization sections, and then unifies
the sections.h files without those __pmac, etc, sections identifiers
cluttering things up.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/pmac_smp.c')
-rw-r--r-- | arch/ppc/platforms/pmac_smp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ppc/platforms/pmac_smp.c b/arch/ppc/platforms/pmac_smp.c index 794a23994b82..e613f0e0d9eb 100644 --- a/arch/ppc/platforms/pmac_smp.c +++ b/arch/ppc/platforms/pmac_smp.c | |||
@@ -186,7 +186,7 @@ static inline void psurge_clr_ipi(int cpu) | |||
186 | */ | 186 | */ |
187 | static unsigned long psurge_smp_message[NR_CPUS]; | 187 | static unsigned long psurge_smp_message[NR_CPUS]; |
188 | 188 | ||
189 | void __pmac psurge_smp_message_recv(struct pt_regs *regs) | 189 | void psurge_smp_message_recv(struct pt_regs *regs) |
190 | { | 190 | { |
191 | int cpu = smp_processor_id(); | 191 | int cpu = smp_processor_id(); |
192 | int msg; | 192 | int msg; |
@@ -203,13 +203,13 @@ void __pmac psurge_smp_message_recv(struct pt_regs *regs) | |||
203 | smp_message_recv(msg, regs); | 203 | smp_message_recv(msg, regs); |
204 | } | 204 | } |
205 | 205 | ||
206 | irqreturn_t __pmac psurge_primary_intr(int irq, void *d, struct pt_regs *regs) | 206 | irqreturn_t psurge_primary_intr(int irq, void *d, struct pt_regs *regs) |
207 | { | 207 | { |
208 | psurge_smp_message_recv(regs); | 208 | psurge_smp_message_recv(regs); |
209 | return IRQ_HANDLED; | 209 | return IRQ_HANDLED; |
210 | } | 210 | } |
211 | 211 | ||
212 | static void __pmac smp_psurge_message_pass(int target, int msg, unsigned long data, | 212 | static void smp_psurge_message_pass(int target, int msg, unsigned long data, |
213 | int wait) | 213 | int wait) |
214 | { | 214 | { |
215 | int i; | 215 | int i; |
@@ -629,7 +629,7 @@ void smp_core99_give_timebase(void) | |||
629 | 629 | ||
630 | 630 | ||
631 | /* PowerSurge-style Macs */ | 631 | /* PowerSurge-style Macs */ |
632 | struct smp_ops_t psurge_smp_ops __pmacdata = { | 632 | struct smp_ops_t psurge_smp_ops = { |
633 | .message_pass = smp_psurge_message_pass, | 633 | .message_pass = smp_psurge_message_pass, |
634 | .probe = smp_psurge_probe, | 634 | .probe = smp_psurge_probe, |
635 | .kick_cpu = smp_psurge_kick_cpu, | 635 | .kick_cpu = smp_psurge_kick_cpu, |
@@ -639,7 +639,7 @@ struct smp_ops_t psurge_smp_ops __pmacdata = { | |||
639 | }; | 639 | }; |
640 | 640 | ||
641 | /* Core99 Macs (dual G4s) */ | 641 | /* Core99 Macs (dual G4s) */ |
642 | struct smp_ops_t core99_smp_ops __pmacdata = { | 642 | struct smp_ops_t core99_smp_ops = { |
643 | .message_pass = smp_openpic_message_pass, | 643 | .message_pass = smp_openpic_message_pass, |
644 | .probe = smp_core99_probe, | 644 | .probe = smp_core99_probe, |
645 | .kick_cpu = smp_core99_kick_cpu, | 645 | .kick_cpu = smp_core99_kick_cpu, |