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
2bf6ce6a
Commit
2bf6ce6a
authored
Aug 25, 2004
by
Len Brown
Committed by
Len Brown
Aug 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] fix numa build warnings (Keith Owens)
Signed-off-by:
Takayoshi Kochi
<
t-kochi@bq.jp.nec.com
>
parent
84b3f750
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
drivers/acpi/numa.c
drivers/acpi/numa.c
+10
-2
No files found.
drivers/acpi/numa.c
View file @
2bf6ce6a
...
@@ -51,6 +51,7 @@ acpi_table_print_srat_entry (
...
@@ -51,6 +51,7 @@ acpi_table_print_srat_entry (
switch
(
header
->
type
)
{
switch
(
header
->
type
)
{
case
ACPI_SRAT_PROCESSOR_AFFINITY
:
case
ACPI_SRAT_PROCESSOR_AFFINITY
:
#ifdef ACPI_DEBUG_OUTPUT
{
{
struct
acpi_table_processor_affinity
*
p
=
struct
acpi_table_processor_affinity
*
p
=
(
struct
acpi_table_processor_affinity
*
)
header
;
(
struct
acpi_table_processor_affinity
*
)
header
;
...
@@ -58,9 +59,11 @@ acpi_table_print_srat_entry (
...
@@ -58,9 +59,11 @@ acpi_table_print_srat_entry (
p
->
apic_id
,
p
->
lsapic_eid
,
p
->
proximity_domain
,
p
->
apic_id
,
p
->
lsapic_eid
,
p
->
proximity_domain
,
p
->
flags
.
enabled
?
"enabled"
:
"disabled"
));
p
->
flags
.
enabled
?
"enabled"
:
"disabled"
));
}
}
#endif
/* ACPI_DEBUG_OUTPUT */
break
;
break
;
case
ACPI_SRAT_MEMORY_AFFINITY
:
case
ACPI_SRAT_MEMORY_AFFINITY
:
#ifdef ACPI_DEBUG_OUTPUT
{
{
struct
acpi_table_memory_affinity
*
p
=
struct
acpi_table_memory_affinity
*
p
=
(
struct
acpi_table_memory_affinity
*
)
header
;
(
struct
acpi_table_memory_affinity
*
)
header
;
...
@@ -70,6 +73,7 @@ acpi_table_print_srat_entry (
...
@@ -70,6 +73,7 @@ acpi_table_print_srat_entry (
p
->
flags
.
enabled
?
"enabled"
:
"disabled"
,
p
->
flags
.
enabled
?
"enabled"
:
"disabled"
,
p
->
flags
.
hot_pluggable
?
" hot-pluggable"
:
""
));
p
->
flags
.
hot_pluggable
?
" hot-pluggable"
:
""
));
}
}
#endif
/* ACPI_DEBUG_OUTPUT */
break
;
break
;
default:
default:
...
@@ -101,7 +105,9 @@ acpi_parse_slit (unsigned long phys_addr, unsigned long size)
...
@@ -101,7 +105,9 @@ acpi_parse_slit (unsigned long phys_addr, unsigned long size)
static
int
__init
static
int
__init
acpi_parse_processor_affinity
(
acpi_table_entry_header
*
header
)
acpi_parse_processor_affinity
(
acpi_table_entry_header
*
header
,
const
unsigned
long
end
)
{
{
struct
acpi_table_processor_affinity
*
processor_affinity
;
struct
acpi_table_processor_affinity
*
processor_affinity
;
...
@@ -119,7 +125,9 @@ acpi_parse_processor_affinity (acpi_table_entry_header *header)
...
@@ -119,7 +125,9 @@ acpi_parse_processor_affinity (acpi_table_entry_header *header)
static
int
__init
static
int
__init
acpi_parse_memory_affinity
(
acpi_table_entry_header
*
header
)
acpi_parse_memory_affinity
(
acpi_table_entry_header
*
header
,
const
unsigned
long
end
)
{
{
struct
acpi_table_memory_affinity
*
memory_affinity
;
struct
acpi_table_memory_affinity
*
memory_affinity
;
...
...
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