linux-mips
[Top] [All Lists]

[patch] power-down linkage fix

To: linux-mips@linux-mips.org
Subject: [patch] power-down linkage fix
From: "Mark Mason" <mason@broadcom.com>
Date: Tue, 17 Jan 2006 12:04:07 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
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


diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -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)



<Prev in Thread] Current Thread [Next in Thread>