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
dbcb25e6
Commit
dbcb25e6
authored
Oct 28, 2005
by
Tony Luck
Browse files
Options
Browse Files
Download
Plain Diff
Pull move-iosapic-to-acpi into release branch
parents
0ace57a9
650316f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
25 deletions
+11
-25
arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c
+11
-2
arch/ia64/pci/pci.c
arch/ia64/pci/pci.c
+0
-23
No files found.
arch/ia64/kernel/acpi.c
View file @
dbcb25e6
...
...
@@ -838,7 +838,7 @@ EXPORT_SYMBOL(acpi_unmap_lsapic);
#endif
/* CONFIG_ACPI_HOTPLUG_CPU */
#ifdef CONFIG_ACPI_NUMA
acpi_status
__devinit
static
acpi_status
__devinit
acpi_map_iosapic
(
acpi_handle
handle
,
u32
depth
,
void
*
context
,
void
**
ret
)
{
struct
acpi_buffer
buffer
=
{
ACPI_ALLOCATE_BUFFER
,
NULL
};
...
...
@@ -890,7 +890,16 @@ acpi_map_iosapic(acpi_handle handle, u32 depth, void *context, void **ret)
map_iosapic_to_node
(
gsi_base
,
node
);
return
AE_OK
;
}
#endif
/* CONFIG_NUMA */
static
int
__init
acpi_map_iosapics
(
void
)
{
acpi_get_devices
(
NULL
,
acpi_map_iosapic
,
NULL
,
NULL
);
return
0
;
}
fs_initcall
(
acpi_map_iosapics
);
#endif
/* CONFIG_ACPI_NUMA */
int
acpi_register_ioapic
(
acpi_handle
handle
,
u64
phys_addr
,
u32
gsi_base
)
{
...
...
arch/ia64/pci/pci.c
View file @
dbcb25e6
...
...
@@ -120,29 +120,6 @@ struct pci_ops pci_root_ops = {
.
write
=
pci_write
,
};
#ifdef CONFIG_NUMA
extern
acpi_status
acpi_map_iosapic
(
acpi_handle
,
u32
,
void
*
,
void
**
);
static
void
acpi_map_iosapics
(
void
)
{
acpi_get_devices
(
NULL
,
acpi_map_iosapic
,
NULL
,
NULL
);
}
#else
static
void
acpi_map_iosapics
(
void
)
{
return
;
}
#endif
/* CONFIG_NUMA */
static
int
__init
pci_acpi_init
(
void
)
{
acpi_map_iosapics
();
return
0
;
}
subsys_initcall
(
pci_acpi_init
);
/* Called by ACPI when it finds a new root bus. */
static
struct
pci_controller
*
__devinit
...
...
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