From: Jack Steiner <steiner@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: PATCH[3/4] - Increase max node count on SN platforms
Date: Thu, 02 Mar 2006 22:02:28 +0000 [thread overview]
Message-ID: <20060302220228.GA17147@sgi.com> (raw)
Node number are kept in the cpu_to_node_map which is
currently defined as u8. Change to u16 to accomodate
larger node numbers.
Signed-off-by: Jack Steiner <steiner@sgi.com>
arch/ia64/kernel/numa.c | 2 +-
include/asm-ia64/numa.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/ia64/kernel/numa.c
=================================--- linux.orig/arch/ia64/kernel/numa.c 2006-03-02 13:18:50.720983429 -0600
+++ linux/arch/ia64/kernel/numa.c 2006-03-02 13:21:53.358501208 -0600
@@ -25,7 +25,7 @@
#include <asm/processor.h>
#include <asm/smp.h>
-u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
EXPORT_SYMBOL(cpu_to_node_map);
cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
Index: linux/include/asm-ia64/numa.h
=================================--- linux.orig/include/asm-ia64/numa.h 2006-03-02 13:18:50.721959896 -0600
+++ linux/include/asm-ia64/numa.h 2006-03-02 13:21:53.358501208 -0600
@@ -23,7 +23,7 @@
#include <asm/mmzone.h>
-extern u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+extern u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
/* Stuff below this line could be architecture independent */
reply other threads:[~2006-03-02 22:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060302220228.GA17147@sgi.com \
--to=steiner@sgi.com \
--cc=linux-ia64@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 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.