Commit 11c6bd3e authored by Paul Mackerras's avatar Paul Mackerras

PPC32: declare pm_power_off

parent 886a51ce
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/ide.h> #include <linux/ide.h>
#include <linux/pm.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
...@@ -69,8 +70,6 @@ long long __ashldi3(long long, int); ...@@ -69,8 +70,6 @@ long long __ashldi3(long long, int);
long long __lshrdi3(long long, int); long long __lshrdi3(long long, int);
int abs(int); int abs(int);
extern unsigned char __res[];
extern unsigned long mm_ptov (unsigned long paddr); extern unsigned long mm_ptov (unsigned long paddr);
EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(clear_page);
...@@ -270,6 +269,8 @@ EXPORT_SYMBOL(pmac_xpram_write); ...@@ -270,6 +269,8 @@ EXPORT_SYMBOL(pmac_xpram_write);
#endif /* CONFIG_NVRAM */ #endif /* CONFIG_NVRAM */
EXPORT_SYMBOL(to_tm); EXPORT_SYMBOL(to_tm);
EXPORT_SYMBOL(pm_power_off);
EXPORT_SYMBOL_NOVERS(__ashrdi3); EXPORT_SYMBOL_NOVERS(__ashrdi3);
EXPORT_SYMBOL_NOVERS(__ashldi3); EXPORT_SYMBOL_NOVERS(__ashldi3);
EXPORT_SYMBOL_NOVERS(__lshrdi3); EXPORT_SYMBOL_NOVERS(__lshrdi3);
......
...@@ -129,6 +129,8 @@ void machine_halt(void) ...@@ -129,6 +129,8 @@ void machine_halt(void)
ppc_md.halt(); ppc_md.halt();
} }
void (*pm_power_off)(void) = machine_power_off;
#ifdef CONFIG_TAU #ifdef CONFIG_TAU
extern u32 cpu_temp(unsigned long cpu); extern u32 cpu_temp(unsigned long cpu);
extern u32 cpu_temp_both(unsigned long cpu); extern u32 cpu_temp_both(unsigned long cpu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment