From: Andrew Morton <akpm@osdl.org>
To: "Pawe__ Sikora" <pluto@pld-linux.org>
Cc: linux-kernel@vger.kernel.org, Richard Henderson <rth@twiddle.net>,
Corey Minyard <minyard@acm.org>
Subject: Re: [PATCH][alpha] "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!
Date: Tue, 22 Mar 2005 13:06:57 -0800 [thread overview]
Message-ID: <20050322130657.7502418d.akpm@osdl.org> (raw)
In-Reply-To: <200503152335.48995.pluto@pld-linux.org>
Pawe__ Sikora <pluto@pld-linux.org> wrote:
>
> Fix for modpost warning:
> "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!
>
> --- linux-2.6.11.3/arch/alpha/kernel/alpha_ksyms.c.orig 2005-03-13 07:44:05.000000000 +0100
> +++ linux-2.6.11.3/arch/alpha/kernel/alpha_ksyms.c 2005-03-15 23:20:00.405832368 +0100
> @@ -67,6 +67,9 @@
> EXPORT_SYMBOL(alpha_using_srm);
> #endif /* CONFIG_ALPHA_GENERIC */
>
> +#include <linux/pm.h>
> +EXPORT_SYMBOL(pm_power_off);
> +
> /* platform dependent support */
> EXPORT_SYMBOL(strcat);
> EXPORT_SYMBOL(strcmp);
> --- linux-2.6.11.3/arch/alpha/kernel/process.c.orig 2005-03-13 07:44:40.000000000 +0100
> +++ linux-2.6.11.3/arch/alpha/kernel/process.c 2005-03-15 23:28:15.687538104 +0100
> @@ -183,6 +183,8 @@
>
> EXPORT_SYMBOL(machine_power_off);
>
> +void (*pm_power_off)(void) = machine_power_off;
> +
> /* Used by sysrq-p, among others. I don't believe r9-r15 are ever
> saved in the context it's used. */
There doesn't seem to be a lot of point in defining it and not using it.
Perhaps IPMI is making untoward assumptions about the architecture's power
management? Should we instead be disabling CONFIG_IPMI_POWEROFF on alpha
(and others?)
next prev parent reply other threads:[~2005-03-22 21:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 22:35 Paweł Sikora
2005-03-22 21:06 ` Andrew Morton [this message]
2005-03-22 21:53 ` Jeff Garzik
2005-03-23 8:38 ` Ivan Kokshaysky
2005-03-23 13:51 ` Corey Minyard
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=20050322130657.7502418d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=pluto@pld-linux.org \
--cc=rth@twiddle.net \
/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®