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_time.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_time.c')
-rw-r--r-- | arch/ppc/platforms/pmac_time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/platforms/pmac_time.c b/arch/ppc/platforms/pmac_time.c index 778ce4fec36..ff6adff36cb 100644 --- a/arch/ppc/platforms/pmac_time.c +++ b/arch/ppc/platforms/pmac_time.c | |||
@@ -77,7 +77,7 @@ pmac_time_init(void) | |||
77 | #endif | 77 | #endif |
78 | } | 78 | } |
79 | 79 | ||
80 | unsigned long __pmac | 80 | unsigned long |
81 | pmac_get_rtc_time(void) | 81 | pmac_get_rtc_time(void) |
82 | { | 82 | { |
83 | #if defined(CONFIG_ADB_CUDA) || defined(CONFIG_ADB_PMU) | 83 | #if defined(CONFIG_ADB_CUDA) || defined(CONFIG_ADB_PMU) |
@@ -118,7 +118,7 @@ pmac_get_rtc_time(void) | |||
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | 120 | ||
121 | int __pmac | 121 | int |
122 | pmac_set_rtc_time(unsigned long nowtime) | 122 | pmac_set_rtc_time(unsigned long nowtime) |
123 | { | 123 | { |
124 | #if defined(CONFIG_ADB_CUDA) || defined(CONFIG_ADB_PMU) | 124 | #if defined(CONFIG_ADB_CUDA) || defined(CONFIG_ADB_PMU) |
@@ -210,7 +210,7 @@ via_calibrate_decr(void) | |||
210 | /* | 210 | /* |
211 | * Reset the time after a sleep. | 211 | * Reset the time after a sleep. |
212 | */ | 212 | */ |
213 | static int __pmac | 213 | static int |
214 | time_sleep_notify(struct pmu_sleep_notifier *self, int when) | 214 | time_sleep_notify(struct pmu_sleep_notifier *self, int when) |
215 | { | 215 | { |
216 | static unsigned long time_diff; | 216 | static unsigned long time_diff; |
@@ -235,7 +235,7 @@ time_sleep_notify(struct pmu_sleep_notifier *self, int when) | |||
235 | return PBOOK_SLEEP_OK; | 235 | return PBOOK_SLEEP_OK; |
236 | } | 236 | } |
237 | 237 | ||
238 | static struct pmu_sleep_notifier time_sleep_notifier __pmacdata = { | 238 | static struct pmu_sleep_notifier time_sleep_notifier = { |
239 | time_sleep_notify, SLEEP_LEVEL_MISC, | 239 | time_sleep_notify, SLEEP_LEVEL_MISC, |
240 | }; | 240 | }; |
241 | #endif /* CONFIG_PM */ | 241 | #endif /* CONFIG_PM */ |