[PATCH] [POWERPC] Some extra via-pmu exports

Subsystems: linux for power macintosh, the rest

STALE7012d

4 messages, 3 authors, 2007-06-06 · open the first message on its own page

[PATCH] [POWERPC] Some extra via-pmu exports

From: Stephen Rothwell <hidden>
Date: 2007-05-21 05:05:37

pmu_battery_count, pmu_batteries, pmu_power_flags were only exported
for 32 bit builds but are now needed for 64 bit as well.

Signed-off-by: Stephen Rothwell <redacted>
---
 drivers/macintosh/via-pmu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 157080b..07c189c 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -2841,10 +2841,10 @@ EXPORT_SYMBOL(pmu_wait_complete);
 EXPORT_SYMBOL(pmu_suspend);
 EXPORT_SYMBOL(pmu_resume);
 EXPORT_SYMBOL(pmu_unlock);
-#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
-EXPORT_SYMBOL(pmu_enable_irled);
 EXPORT_SYMBOL(pmu_battery_count);
 EXPORT_SYMBOL(pmu_batteries);
 EXPORT_SYMBOL(pmu_power_flags);
+#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
+EXPORT_SYMBOL(pmu_enable_irled);
 #endif /* CONFIG_PM && CONFIG_PPC32 */
 
-- 
1.5.1.4

Re: [PATCH] [POWERPC] Some extra via-pmu exports

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-06-06 14:06:04

On Monday 21 May 2007, Stephen Rothwell wrote:
pmu_battery_count, pmu_batteries, pmu_power_flags were only exported
for 32 bit builds but are now needed for 64 bit as well.

Signed-off-by: Stephen Rothwell <redacted>
I haven't seen this one show up in 2.6.22-rc or powerpc.git yet,
but I think we should have it in there to avoid build breakage.

I stumbled over the same bug and wanted to submit a fix when
I saw it was posted already.

	Arnd <><

Re: [PATCH] [POWERPC] Some extra via-pmu exports

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-06-06 14:23:02

On Wed, 2007-06-06 at 16:05 +0200, Arnd Bergmann wrote:
On Monday 21 May 2007, Stephen Rothwell wrote:
quoted
pmu_battery_count, pmu_batteries, pmu_power_flags were only exported
for 32 bit builds but are now needed for 64 bit as well.

Signed-off-by: Stephen Rothwell <redacted>
I haven't seen this one show up in 2.6.22-rc or powerpc.git yet,
but I think we should have it in there to avoid build breakage.

I stumbled over the same bug and wanted to submit a fix when
I saw it was posted already.
Actually, I think that with the latest patch I sent that disallows you
to build APM-emulation for 64-bit (which doesn't make sense) this
shouldn't be a problem any more. Are tehre still some that need
exporting?

johannes

Re: [PATCH] [POWERPC] Some extra via-pmu exports

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-06-06 14:36:36

On Wednesday 06 June 2007, Johannes Berg wrote:
Actually, I think that with the latest patch I sent that disallows you
to build APM-emulation for 64-bit (which doesn't make sense) this
shouldn't be a problem any more. Are tehre still some that need
exporting?
Sorry, I must have missed your patch.
I can confirm that in 2.6.22-rc4 Stephen's patch is no longer needed.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help