Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
221e33ad
Commit
221e33ad
authored
Dec 18, 2003
by
Jesse Barnes
Committed by
David Mosberger
Dec 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: make cpu_to_node_map unsigned
This small fix is needed for machines with more than 128 nodes.
parent
ea361e05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/smpboot.c
+1
-1
include/asm-ia64/numa.h
include/asm-ia64/numa.h
+1
-1
No files found.
arch/ia64/kernel/smpboot.c
View file @
221e33ad
...
@@ -466,7 +466,7 @@ smp_build_cpu_map (void)
...
@@ -466,7 +466,7 @@ smp_build_cpu_map (void)
#ifdef CONFIG_NUMA
#ifdef CONFIG_NUMA
/* on which node is each logical CPU (one cacheline even for 64 CPUs) */
/* on which node is each logical CPU (one cacheline even for 64 CPUs) */
volatile
char
cpu_to_node_map
[
NR_CPUS
]
__cacheline_aligned
;
volatile
u8
cpu_to_node_map
[
NR_CPUS
]
__cacheline_aligned
;
/* which logical CPUs are on which nodes */
/* which logical CPUs are on which nodes */
volatile
cpumask_t
node_to_cpu_mask
[
MAX_NUMNODES
]
__cacheline_aligned
;
volatile
cpumask_t
node_to_cpu_mask
[
MAX_NUMNODES
]
__cacheline_aligned
;
...
...
include/asm-ia64/numa.h
View file @
221e33ad
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include <asm/mmzone.h>
#include <asm/mmzone.h>
extern
volatile
char
cpu_to_node_map
[
NR_CPUS
]
__cacheline_aligned
;
extern
volatile
u8
cpu_to_node_map
[
NR_CPUS
]
__cacheline_aligned
;
extern
volatile
cpumask_t
node_to_cpu_mask
[
MAX_NUMNODES
]
__cacheline_aligned
;
extern
volatile
cpumask_t
node_to_cpu_mask
[
MAX_NUMNODES
]
__cacheline_aligned
;
/* Stuff below this line could be architecture independent */
/* Stuff below this line could be architecture independent */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment