From: Adrian Bunk <bunk@stusta.de>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
Ingo Molnar <mingo@elte.hu>,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] sched.c: remove an unused macro
Date: Fri, 29 Oct 2004 13:31:47 +0200 [thread overview]
Message-ID: <20041029113147.GE6677@stusta.de> (raw)
In-Reply-To: <41819D48.7000005@bigpond.net.au>
On Fri, Oct 29, 2004 at 11:30:48AM +1000, Peter Williams wrote:
>
> You missed some :-). The cpu_to_node_mask() macros don't seem to be
> used either.
I only searched for unused static inline functions (since this was
relatively easy).
But your comment seems to be correct, and below is the patch that
removes the cpu_to_node_mask macros.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm2-full/kernel/sched.c.old 2004-10-29 13:28:14.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/kernel/sched.c 2004-10-29 13:28:24.000000000 +0200
@@ -51,12 +51,6 @@
#include <asm/unistd.h>
-#ifdef CONFIG_NUMA
-#define cpu_to_node_mask(cpu) node_to_cpumask(cpu_to_node(cpu))
-#else
-#define cpu_to_node_mask(cpu) (cpu_online_map)
-#endif
-
/*
* Convert user-nice values [ -20 ... 0 ... 19 ]
* to static priority [ MAX_RT_PRIO..MAX_PRIO-1 ],
next prev parent reply other threads:[~2004-10-29 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 23:14 [2.6 patch] sched.c: remove an unused function Adrian Bunk
2004-10-29 0:25 ` Adrian Bunk
2004-10-29 7:23 ` Ingo Molnar
[not found] ` <41819D48.7000005@bigpond.net.au>
2004-10-29 11:31 ` Adrian Bunk [this message]
2004-10-29 11:34 ` [2.6 patch] sched.c: remove an unused macro Ingo Molnar
2004-10-29 11:36 ` Nick Piggin
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=20041029113147.GE6677@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nickpiggin@yahoo.com.au \
--cc=pwil3058@bigpond.net.au \
/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