From: Sasha Levin <sashal@kernel.org>
To: Nicholas Krause <xerofoify@gmail.com>, rth@twiddle.net
Cc: ink@jurassic.park.msu.ru, mattst88@gmail.com,
linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] FIXME of file toploogy.h for alpha cpus
Date: Sat, 28 Jun 2014 15:53:09 -0400 [thread overview]
Message-ID: <53AF1D25.10406@kernel.org> (raw)
In-Reply-To: <1403928469-9452-1-git-send-email-xerofoify@gmail.com>
On 06/28/2014 12:07 AM, Nicholas Krause wrote:
> This patch fixs the FIXME message in the function *cpumask_of_node
> for using this function multiple times and the issue with recaluting
> the cpu node mask when reusing this function.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
> arch/alpha/include/asm/topology.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/alpha/include/asm/topology.h b/arch/alpha/include/asm/topology.h
> index 9251e13..d301f66 100644
> --- a/arch/alpha/include/asm/topology.h
> +++ b/arch/alpha/include/asm/topology.h
> @@ -31,6 +31,9 @@ static const struct cpumask *cpumask_of_node(int node)
> if (node == -1)
> return cpu_all_mask;
>
> + else if (node == &node_to_cpumask_map[node])
> + return &node_to_cpumask_map[node];
> +
> cpumask_clear(&node_to_cpumask_map[node]);
>
> for_each_online_cpu(cpu) {
>
Since this patch doesn't even compile, care to tell us how you tested it?
Thanks,
Sasha
next prev parent reply other threads:[~2014-06-28 19:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-28 4:07 [PATCH] FIXME of file toploogy.h for alpha cpus Nicholas Krause
2014-06-28 19:53 ` Sasha Levin [this message]
2014-06-29 3:03 ` Nick Krause
2014-06-29 20:24 ` Sasha Levin
2014-06-30 1:53 ` Nick Krause
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=53AF1D25.10406@kernel.org \
--to=sashal@kernel.org \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
--cc=rth@twiddle.net \
--cc=xerofoify@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.