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
aee5612f
Commit
aee5612f
authored
Jan 18, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Jan 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sn: Use numionodes
From: Pat Gefre <pfg@sgi.com> Use numionodes
parent
5a867c03
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
arch/ia64/sn/io/sn2/klgraph.c
arch/ia64/sn/io/sn2/klgraph.c
+3
-3
arch/ia64/sn/io/sn2/ml_iograph.c
arch/ia64/sn/io/sn2/ml_iograph.c
+1
-1
include/asm-ia64/sn/sn2/sn_private.h
include/asm-ia64/sn/sn2/sn_private.h
+1
-0
No files found.
arch/ia64/sn/io/sn2/klgraph.c
View file @
aee5612f
...
...
@@ -449,7 +449,7 @@ klhwg_connect_hubs(vertex_hdl_t hwgraph_root)
graph_error_t
rc
;
int
port
;
for
(
cnode
=
0
;
cnode
<
numnodes
;
cnode
++
)
{
for
(
cnode
=
0
;
cnode
<
num
io
nodes
;
cnode
++
)
{
nasid
=
COMPACT_TO_NASID_NODEID
(
cnode
);
brd
=
find_lboard
((
lboard_t
*
)
KL_CONFIG_INFO
(
nasid
),
KLTYPE_SNIA
);
...
...
@@ -621,11 +621,11 @@ klhwg_add_all_nodes(vertex_hdl_t hwgraph_root)
{
cnodeid_t
cnode
;
for
(
cnode
=
0
;
cnode
<
numnodes
;
cnode
++
)
{
for
(
cnode
=
0
;
cnode
<
num
io
nodes
;
cnode
++
)
{
klhwg_add_node
(
hwgraph_root
,
cnode
);
}
for
(
cnode
=
0
;
cnode
<
numnodes
;
cnode
++
)
{
for
(
cnode
=
0
;
cnode
<
num
io
nodes
;
cnode
++
)
{
klhwg_add_xbow
(
cnode
,
cnodeid_to_nasid
(
cnode
));
}
...
...
arch/ia64/sn/io/sn2/ml_iograph.c
View file @
aee5612f
...
...
@@ -679,7 +679,7 @@ init_all_devices(void)
cnodeid_t
cnodeid
,
active
;
active
=
0
;
for
(
cnodeid
=
0
;
cnodeid
<
numnodes
;
cnodeid
++
)
{
for
(
cnodeid
=
0
;
cnodeid
<
num
io
nodes
;
cnodeid
++
)
{
DBG
(
"init_all_devices: Calling io_init_node() for cnode %d
\n
"
,
cnodeid
);
io_init_node
(
cnodeid
);
...
...
include/asm-ia64/sn/sn2/sn_private.h
View file @
aee5612f
...
...
@@ -207,6 +207,7 @@ typedef struct cpuinfo_s {
extern
void
xswitch_vertex_init
(
vertex_hdl_t
xswitch
);
extern
xtalk_provider_t
hub_provider
;
extern
int
numionodes
;
/* du.c */
int
ducons_write
(
char
*
buf
,
int
len
);
...
...
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