From: Andrew Morton <akpm@osdl.org>
To: Li Shaohua <shaohua.li@intel.com>
Cc: linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net,
len.brown@intel.com, pavel@suse.cz, zwane@linuxpower.ca
Subject: Re: [PATCH 6/6]suspend/resume SMP support
Date: Thu, 28 Apr 2005 00:22:54 -0700 [thread overview]
Message-ID: <20050428002254.461fcf32.akpm@osdl.org> (raw)
In-Reply-To: <1113283867.27646.434.camel@sli10-desk.sh.intel.com>
Li Shaohua <shaohua.li@intel.com> wrote:
>
> Using CPU hotplug to support suspend/resume SMP. Both S3 and S4 use
> disable/enable_nonboot_cpus API. The S4 part is based on Pavel's
> original S4 SMP patch.
On ia64, with tiger_defconfig:
kernel/built-in.o(.text+0x59e12): In function `suspend_prepare':
: undefined reference to `disable_nonboot_cpus'
kernel/built-in.o(.text+0x59e62): In function `suspend_prepare':
: undefined reference to `enable_nonboot_cpus'
kernel/built-in.o(.text+0x5a222): In function `suspend_finish':
: undefined reference to `enable_nonboot_cpus'
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
include/linux/suspend.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN include/linux/suspend.h~suspend-resume-smp-support-fix include/linux/suspend.h
--- 25/include/linux/suspend.h~suspend-resume-smp-support-fix Thu Apr 28 15:12:21 2005
+++ 25-akpm/include/linux/suspend.h Thu Apr 28 15:13:13 2005
@@ -58,7 +58,7 @@ static inline int software_suspend(void)
}
#endif
-#ifdef CONFIG_HOTPLUG_CPU
+#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_SOFTWARE_SUSPEND)
extern void disable_nonboot_cpus(void);
extern void enable_nonboot_cpus(void);
#else
_
next prev parent reply other threads:[~2005-04-28 7:23 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 5:31 [PATCH 6/6]suspend/resume SMP support Li Shaohua
2005-04-12 9:43 ` Pavel Machek
2005-04-12 10:51 ` Pavel Machek
2005-04-12 12:40 ` Li Shaohua
2005-04-13 8:32 ` Pavel Machek
2005-04-14 8:27 ` Li Shaohua
2005-04-14 8:40 ` Li Shaohua
2005-04-23 22:35 ` Andrew Morton
2005-04-23 22:41 ` Pavel Machek
2005-04-25 0:49 ` Li Shaohua
2005-05-26 2:58 ` Hotplug CPU printk issue Shaohua Li
2005-05-26 3:48 ` Andrew Morton
2005-05-26 5:43 ` Shaohua Li
2005-05-26 5:52 ` Andrew Morton
2005-05-26 19:32 ` David Mosberger
2005-05-27 2:08 ` Rusty Russell
2005-04-28 7:22 ` Andrew Morton [this message]
2005-04-28 7:28 ` [PATCH 6/6]suspend/resume SMP support Li Shaohua
2005-04-28 7:41 ` Andrew Morton
2005-04-28 8:29 ` Li Shaohua
2005-04-28 8:35 ` Pavel Machek
2005-04-28 9:04 ` [ACPI] " Rafael J. Wysocki
2005-04-28 7:35 ` Li Shaohua
2005-04-28 7:42 ` Pavel Machek
2005-04-28 8:11 ` [ACPI] " Yu, Luming
2005-04-28 8:20 ` Pavel Machek
2005-04-28 8:34 ` Yu, Luming
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=20050428002254.461fcf32.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=acpi-devel@lists.sourceforge.net \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
--cc=shaohua.li@intel.com \
--cc=zwane@linuxpower.ca \
/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