diff options
author | Jon Loeliger <linuxppc@jdl.com> | 2005-09-17 11:36:54 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-18 19:38:49 -0400 |
commit | aacaf9bd9646f6f611a08fca976411b6e5ddefe2 (patch) | |
tree | 604853646cc176c0a0908db39f254285121fa50c /arch/ppc64/kernel/pmac_setup.c | |
parent | f495a8bfd6a52cf32859f93d5320bb234d8a9560 (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.c | 10 |
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 | ||
99 | extern void udbg_init_scc(struct device_node *np); | 99 | extern void udbg_init_scc(struct device_node *np); |
100 | 100 | ||
101 | static void __pmac pmac_show_cpuinfo(struct seq_file *m) | 101 | static 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) | |||
210 | late_initcall(pmac_late_init); | 210 | late_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 */ |
213 | void __pmac note_bootable_part(dev_t dev, int part, int goodness) | 213 | void 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 | ||
234 | static void __pmac pmac_restart(char *cmd) | 234 | static 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 | ||
253 | static void __pmac pmac_power_off(void) | 253 | static 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 | ||
271 | static void __pmac pmac_halt(void) | 271 | static void pmac_halt(void) |
272 | { | 272 | { |
273 | pmac_power_off(); | 273 | pmac_power_off(); |
274 | } | 274 | } |