Skip to contentSkip to conversation

power-down linkage fix

PATCH In review Mark Mason 2 participants 2 messages Jan 17, 2006 – Jan 19, 2006 MIPS

lore
Share & tools
lore

Mark Mason

author
#0 lore raw

PATCH 1/1 power-down linkage fix

Hello,

The last git import created a dependency on pm_power_down. Borrowing from ARM the following patch provides definitions of the needed variables in order for kernels to link.

Please apply
/Mark

arch/mips/kernel/process.c +9 -0
@@ -41,6 +41,15 @@
 #include <asm/inst.h>
 
 /*
+ * The following aren't currently used.
+ */
+void (*pm_idle)(void);
+EXPORT_SYMBOL(pm_idle);
+
+void (*pm_power_off)(void);
+EXPORT_SYMBOL(pm_power_off);
+
+/*
  * The idle thread. There's no useful work to be done, so just try to conserve
  * power and have a low exit latency (ie sit in a loop waiting for somebody to
  * say that they'd like to reschedule)
#1 lore raw
Quoted 3 lines · Mark Mason

The last git import created a dependency on pm_power_down. Borrowing from ARM the following patch provides definitions of the needed variables in order for kernels to link.

Our ages old _machine_power_off function pointer really already does what pm_power_down does, so I've just renamed that variable.

Ralf