Messages in this thread Patch in this message | | | Date | Mon, 09 Jan 2006 12:44:44 -0800 (PST) | Subject | Re: 2.6.15+git: undefined reference to `pm_power_off' | From | "David S. Miller" <> |
| |
From: Meelis Roos <mroos@linux.ee> Date: Mon, 9 Jan 2006 13:30:35 +0200 (EET)
> Todays git update does not link on sparc64: > > LD .tmp_vmlinux1 > kernel/built-in.o: In function `sys_reboot': undefined reference to `pm_power_off' > kernel/built-in.o: In function `sys_reboot': undefined reference to `pm_power_off'
I have a fix on it's way already:
diff-tree 760c6246d9bc61e2cdee828e12617ac8696d31fd (from 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f) Author: David S. Miller <davem@sunset.davemloft.net> Date: Sun Jan 8 22:54:39 2006 -0800
[SPARC64]: Add needed pm_power_off symbol. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 9e8362e..30bcaf5 100644 --- a/arch/sparc64/kernel/power.c +++ b/arch/sparc64/kernel/power.c @@ -14,6 +14,7 @@ #include <linux/signal.h> #include <linux/delay.h> #include <linux/interrupt.h> +#include <linux/pm.h> #include <asm/system.h> #include <asm/ebus.h> @@ -70,6 +71,9 @@ void machine_power_off(void) machine_halt(); } +void (*pm_power_off)(void) = machine_power_off; +EXPORT_SYMBOL(pm_power_off); + #ifdef CONFIG_PCI static int powerd(void *__unused) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |