2007-01-30 13:23:28

by Al Viro

[permalink] [raw]
Subject: [PATCH] missing exports of pm_power_off() on alpha and sparc32


Signed-off-by: Al Viro <[email protected]>
---
arch/alpha/kernel/process.c | 1 +
arch/sparc/kernel/process.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c
index 3370e6f..c151863 100644
--- a/arch/alpha/kernel/process.c
+++ b/arch/alpha/kernel/process.c
@@ -47,6 +47,7 @@
* Power off function, if any
*/
void (*pm_power_off)(void) = machine_power_off;
+EXPORT_SYMBOL(pm_power_off);

void
cpu_idle(void)
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c
index 89a28cc..113bd48 100644
--- a/arch/sparc/kernel/process.c
+++ b/arch/sparc/kernel/process.c
@@ -54,6 +54,7 @@ void (*pm_idle)(void);
* handler when auxio is not present-- unused for now...
*/
void (*pm_power_off)(void) = machine_power_off;
+EXPORT_SYMBOL(pm_power_off);

/*
* sysctl - toggle power-off restriction for serial console
--
1.5.0-rc2.GIT