From: Dave Hansen <haveblue@us.ibm.com>
To: ak@suse.de
Cc: linux-kernel@vger.kernel.org, Dave Hansen <haveblue@us.ibm.com>
Subject: [PATCH] x86_64: extra NODES_SHIFT definition
Date: Mon, 27 Mar 2006 09:12:07 -0800 [thread overview]
Message-ID: <20060327171207.B17D7C47@localhost.localdomain> (raw)
The generic linux/numa.h file defines NODES_SHIFT to 0 in case
the architecture did not.
Every architecture which has a NUMA config option defines
NODES_SHIFT in its asm-$ARCH headers, but only if NUMA is
enabled, except for x86_64.
This should make it like all the rest.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---
work2-dave/include/asm-x86_64/numnodes.h | 2 --
1 files changed, 2 deletions(-)
diff -puN include/asm-x86_64/numnodes.h~x86_64-extra-NODES_SHIFT include/asm-x86_64/numnodes.h
--- work2/include/asm-x86_64/numnodes.h~x86_64-extra-NODES_SHIFT 2006-03-23 09:00:31.000000000 -0800
+++ work2-dave/include/asm-x86_64/numnodes.h 2006-03-23 09:00:31.000000000 -0800
@@ -5,8 +5,6 @@
#ifdef CONFIG_NUMA
#define NODES_SHIFT 6
-#else
-#define NODES_SHIFT 0
#endif
#endif
_
next reply other threads:[~2006-03-27 17:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 17:12 Dave Hansen [this message]
2006-03-27 17:14 ` Andi Kleen
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=20060327171207.B17D7C47@localhost.localdomain \
--to=haveblue@us.ibm.com \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome