Skip to contentSkip to conversation

missing exports of pm_power_off() on alpha and sparc32

PATCH New Al Viro 1 participant 1 message Jan 30, 2007

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 missing exports of pm_power_off() on alpha and sparc32

---
 arch/alpha/kernel/process.c |    1 +
 arch/sparc/kernel/process.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/alpha/kernel/process.c +1 -0
index 3370e6f..c151863 100644
@@ -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)
arch/sparc/kernel/process.c +1 -0
index 89a28cc..113bd48 100644
@@ -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 
Signature · 1 line
1.5.0-rc2.GIT