From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Nathan Lynch <ntl@pobox.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powermac: use set_hard_smp_processor_id() instead of smp_hw_index
Date: Thu, 11 Dec 2008 16:20:29 +1100 [thread overview]
Message-ID: <1228972829.22413.159.camel@pasglop> (raw)
In-Reply-To: <1228955322-16995-2-git-send-email-ntl@pobox.com>
On Wed, 2008-12-10 at 18:28 -0600, Nathan Lynch wrote:
> The hard_smp_processor_id functions are the appropriate interfaces for
> managing physical CPU ids.
>
> Signed-off-by: Nathan Lynch <ntl@pobox.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
> ---
> arch/powerpc/platforms/powermac/smp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
> index 40f72c2..6b0711c 100644
> --- a/arch/powerpc/platforms/powermac/smp.c
> +++ b/arch/powerpc/platforms/powermac/smp.c
> @@ -739,7 +739,7 @@ static void __init smp_core99_setup(int ncpus)
>
> /* XXX should get this from reg properties */
> for (i = 1; i < ncpus; ++i)
> - smp_hw_index[i] = i;
> + set_hard_smp_processor_id(i, i);
> }
> #endif
>
prev parent reply other threads:[~2008-12-11 5:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 0:28 [PATCH] powermac: use set_hard_smp_processor_id() instead of smp_hw_index Nathan Lynch
2008-12-11 5:20 ` Benjamin Herrenschmidt [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=1228972829.22413.159.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=ntl@pobox.com \
/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