aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-01-09 16:59:12 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-09 17:12:50 -0500
commit90bf8116641d6c9fb6f88329634341f9a0f429c6 (patch)
treea329b721fbe57c4ac81d7ef641d1d33c7ea92b8b /arch/sparc64
parentf17578decc40df8fceff82b106582e30bdfb3189 (diff)
[SPARC64]: Add needed pm_power_off symbol.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/power.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c
index 9e8362ea3104..30bcaf58e3ab 100644
--- a/arch/sparc64/kernel/power.c
+++ b/arch/sparc64/kernel/power.c
@@ -14,6 +14,7 @@
14#include <linux/signal.h> 14#include <linux/signal.h>
15#include <linux/delay.h> 15#include <linux/delay.h>
16#include <linux/interrupt.h> 16#include <linux/interrupt.h>
17#include <linux/pm.h>
17 18
18#include <asm/system.h> 19#include <asm/system.h>
19#include <asm/ebus.h> 20#include <asm/ebus.h>
@@ -70,6 +71,9 @@ void machine_power_off(void)
70 machine_halt(); 71 machine_halt();
71} 72}
72 73
74void (*pm_power_off)(void) = machine_power_off;
75EXPORT_SYMBOL(pm_power_off);
76
73#ifdef CONFIG_PCI 77#ifdef CONFIG_PCI
74static int powerd(void *__unused) 78static int powerd(void *__unused)
75{ 79{