mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: mroos@linux.ee
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.15+git: undefined reference to `pm_power_off'
Date: Mon, 09 Jan 2006 12:44:44 -0800 (PST)	[thread overview]
Message-ID: <20060109.124444.115603028.davem@davemloft.net> (raw)
In-Reply-To: <Pine.SOC.4.61.0601091329540.14603@math.ut.ee>

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)
 {

      reply	other threads:[~2006-01-09 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-09 11:30 Meelis Roos
2006-01-09 20:44 ` David S. Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060109.124444.115603028.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®