diff options
| author | Paul Mackerras <paulus@samba.org> | 2003-02-15 18:58:35 +1100 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2003-02-15 18:58:35 +1100 |
| commit | 11c6bd3e40459d7186d1b28ba9488554c48ceaaf (patch) | |
| tree | 7fc97c9cc6ed2ca34edcfb49ef743dfc41a3714a /arch/ppc/kernel | |
| parent | 886a51ce9cbaf4f3eb6929768b55a5e0725065a3 (diff) | |
PPC32: declare pm_power_off
Diffstat (limited to 'arch/ppc/kernel')
| -rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 5 | ||||
| -rw-r--r-- | arch/ppc/kernel/setup.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index c77c49fff8aa..12192810db5d 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c @@ -14,6 +14,7 @@ #include <linux/pci.h> #include <linux/delay.h> #include <linux/ide.h> +#include <linux/pm.h> #include <asm/page.h> #include <asm/semaphore.h> @@ -69,8 +70,6 @@ long long __ashldi3(long long, int); long long __lshrdi3(long long, int); int abs(int); -extern unsigned char __res[]; - extern unsigned long mm_ptov (unsigned long paddr); EXPORT_SYMBOL(clear_page); @@ -270,6 +269,8 @@ EXPORT_SYMBOL(pmac_xpram_write); #endif /* CONFIG_NVRAM */ EXPORT_SYMBOL(to_tm); +EXPORT_SYMBOL(pm_power_off); + EXPORT_SYMBOL_NOVERS(__ashrdi3); EXPORT_SYMBOL_NOVERS(__ashldi3); EXPORT_SYMBOL_NOVERS(__lshrdi3); diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index ebb244e6eaa5..e729d81d3aad 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c @@ -129,6 +129,8 @@ void machine_halt(void) ppc_md.halt(); } +void (*pm_power_off)(void) = machine_power_off; + #ifdef CONFIG_TAU extern u32 cpu_temp(unsigned long cpu); extern u32 cpu_temp_both(unsigned long cpu); |
