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
4ed8eeb9
Commit
4ed8eeb9
authored
Oct 22, 2002
by
Kimio Suganuma
Committed by
David Mosberger
Oct 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: ACPI NUMA bugfix
parent
78314ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c
+8
-5
No files found.
arch/ia64/kernel/acpi.c
View file @
4ed8eeb9
...
...
@@ -473,7 +473,6 @@ static struct acpi_table_slit __initdata *slit_table;
void
__init
acpi_numa_slit_init
(
struct
acpi_table_slit
*
slit
)
{
int
i
,
j
,
node_from
,
node_to
;
u32
len
;
len
=
sizeof
(
struct
acpi_table_header
)
+
8
...
...
@@ -508,9 +507,6 @@ acpi_numa_memory_affinity_init (struct acpi_table_memory_affinity *ma)
pxm
=
ma
->
proximity_domain
;
/* record this node in proximity bitmap */
pxm_bit_set
(
pxm
);
/* fill node memory chunk structure */
paddr
=
ma
->
base_addr_hi
;
paddr
=
(
paddr
<<
32
)
|
ma
->
base_addr_lo
;
...
...
@@ -523,6 +519,13 @@ acpi_numa_memory_affinity_init (struct acpi_table_memory_affinity *ma)
return
;
}
/* Ignore disabled entries */
if
(
!
ma
->
flags
.
enabled
)
return
;
/* record this node in proximity bitmap */
pxm_bit_set
(
pxm
);
/* Insertion sort based on base address */
pend
=
&
node_memblk
[
num_memblks
];
for
(
p
=
&
node_memblk
[
0
];
p
<
pend
;
p
++
)
{
...
...
@@ -542,7 +545,7 @@ acpi_numa_memory_affinity_init (struct acpi_table_memory_affinity *ma)
void
__init
acpi_numa_arch_fixup
(
void
)
{
int
i
,
j
;
int
i
,
j
,
node_from
,
node_to
;
/* calculate total number of nodes in system from PXM bitmap */
numnodes
=
0
;
/* init total nodes in system */
...
...
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