From: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
To: Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
pavel-AlSwsSmVLrQ@public.gmane.org,
zwane-T6AQWPvKiI1fDP7aoN8Z5Q@public.gmane.org
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-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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-3NddpPZAyC0@public.gmane.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
_
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
next prev parent reply other threads:[~2005-04-28 7:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 5:31 [PATCH 6/6]suspend/resume SMP support Li Shaohua
[not found] ` <1113283867.27646.434.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-12 9:43 ` Pavel Machek
2005-04-12 10:51 ` Pavel Machek
2005-04-12 12:40 ` Li Shaohua
[not found] ` <1113309627.5155.3.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
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
[not found] ` <20050423153501.5286b6c6.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-23 22:41 ` Pavel Machek
2005-04-25 0:49 ` Li Shaohua
2005-04-28 7:22 ` Andrew Morton [this message]
[not found] ` <20050428002254.461fcf32.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-28 7:28 ` Li Shaohua
[not found] ` <1114673297.26367.3.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 7:41 ` Andrew Morton
[not found] ` <20050428004108.3c670bf2.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-28 8:29 ` Li Shaohua
[not found] ` <1114676961.26367.12.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 8:35 ` Pavel Machek
[not found] ` <20050428083459.GM1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-28 9:04 ` Rafael J. Wysocki
2005-04-28 7:35 ` Li Shaohua
[not found] ` <1114673725.26367.7.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 7:42 ` Pavel Machek
[not found] ` <20050428074201.GA1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-28 8:11 ` Yu, Luming
[not found] ` <200504281611.00254.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-04-28 8:20 ` Pavel Machek
[not found] ` <20050428082037.GG1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
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-3nddppzayc0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pavel-AlSwsSmVLrQ@public.gmane.org \
--cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=zwane-T6AQWPvKiI1fDP7aoN8Z5Q@public.gmane.org \
/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