aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pmac_setup.c
diff options
context:
space:
mode:
authorJon Loeliger <linuxppc@jdl.com>2005-09-17 11:36:54 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-18 19:38:49 -0400
commitaacaf9bd9646f6f611a08fca976411b6e5ddefe2 (patch)
tree604853646cc176c0a0908db39f254285121fa50c /arch/ppc64/kernel/pmac_setup.c
parentf495a8bfd6a52cf32859f93d5320bb234d8a9560 (diff)
[PATCH] powerpc: Remove sections use from ppc64 and drivers
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/ppc64/kernel/pmac_setup.c')
-rw-r--r--arch/ppc64/kernel/pmac_setup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ppc64/kernel/pmac_setup.c b/arch/ppc64/kernel/pmac_setup.c
index 325426c7bed0..1f5118078f7d 100644
--- a/arch/ppc64/kernel/pmac_setup.c
+++ b/arch/ppc64/kernel/pmac_setup.c
@@ -98,7 +98,7 @@ EXPORT_SYMBOL(smu_cmdbuf_abs);
98 98
99extern void udbg_init_scc(struct device_node *np); 99extern void udbg_init_scc(struct device_node *np);
100 100
101static void __pmac pmac_show_cpuinfo(struct seq_file *m) 101static void pmac_show_cpuinfo(struct seq_file *m)
102{ 102{
103 struct device_node *np; 103 struct device_node *np;
104 char *pp; 104 char *pp;
@@ -210,7 +210,7 @@ static int pmac_late_init(void)
210late_initcall(pmac_late_init); 210late_initcall(pmac_late_init);
211 211
212/* can't be __init - can be called whenever a disk is first accessed */ 212/* can't be __init - can be called whenever a disk is first accessed */
213void __pmac note_bootable_part(dev_t dev, int part, int goodness) 213void note_bootable_part(dev_t dev, int part, int goodness)
214{ 214{
215 extern dev_t boot_dev; 215 extern dev_t boot_dev;
216 char *p; 216 char *p;
@@ -231,7 +231,7 @@ void __pmac note_bootable_part(dev_t dev, int part, int goodness)
231 } 231 }
232} 232}
233 233
234static void __pmac pmac_restart(char *cmd) 234static void pmac_restart(char *cmd)
235{ 235{
236 switch(sys_ctrler) { 236 switch(sys_ctrler) {
237#ifdef CONFIG_ADB_PMU 237#ifdef CONFIG_ADB_PMU
@@ -250,7 +250,7 @@ static void __pmac pmac_restart(char *cmd)
250 } 250 }
251} 251}
252 252
253static void __pmac pmac_power_off(void) 253static void pmac_power_off(void)
254{ 254{
255 switch(sys_ctrler) { 255 switch(sys_ctrler) {
256#ifdef CONFIG_ADB_PMU 256#ifdef CONFIG_ADB_PMU
@@ -268,7 +268,7 @@ static void __pmac pmac_power_off(void)
268 } 268 }
269} 269}
270 270
271static void __pmac pmac_halt(void) 271static void pmac_halt(void)
272{ 272{
273 pmac_power_off(); 273 pmac_power_off();
274} 274}