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
1f8a622a
Commit
1f8a622a
authored
Apr 16, 2002
by
Patrick Mochel
Committed by
Patrick Mochel
Apr 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NUMA compile after PCI cleanup
parent
d17bed35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
arch/i386/kernel/pci/Makefile
arch/i386/kernel/pci/Makefile
+4
-2
arch/i386/kernel/pci/numa.c
arch/i386/kernel/pci/numa.c
+6
-1
No files found.
arch/i386/kernel/pci/Makefile
View file @
1f8a622a
...
@@ -5,11 +5,13 @@ obj-y := dma.o i386.o
...
@@ -5,11 +5,13 @@ obj-y := dma.o i386.o
ifdef
CONFIG_VISWS
ifdef
CONFIG_VISWS
obj-y
+=
visws.o
obj-y
+=
visws.o
else
else
obj-$(CONFIG_PCI_BIOS)
+=
pcbios.o
obj-$(CONFIG_PCI_DIRECT)
+=
direct.o
ifdef
CONFIG_MULTIQUAD
ifdef
CONFIG_MULTIQUAD
obj-y
+=
numa.o
obj-y
+=
numa.o
else
else
obj-$(CONFIG_PCI_BIOS)
+=
pcbios.o
obj-$(CONFIG_PCI_DIRECT)
+=
direct.o
obj-y
+=
fixup.o
obj-y
+=
fixup.o
ifdef
CONFIG_ACPI_PCI
ifdef
CONFIG_ACPI_PCI
...
...
arch/i386/kernel/pci/numa.c
View file @
1f8a622a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*/
*/
#include <linux/pci.h>
#include <linux/pci.h>
#inclu
ed
"pci.h"
#inclu
de
"pci.h"
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
#define BUS2LOCAL(global) (mp_bus_id_to_local[global])
#define BUS2LOCAL(global) (mp_bus_id_to_local[global])
...
@@ -101,6 +101,9 @@ static int __init pci_numa_init(void)
...
@@ -101,6 +101,9 @@ static int __init pci_numa_init(void)
{
{
int
quad
;
int
quad
;
pci_config_read
=
pci_conf1_read
;
pci_config_write
=
pci_conf1_write
;
pci_root_bus
=
pcibios_scan_root
(
0
);
pci_root_bus
=
pcibios_scan_root
(
0
);
if
(
clustered_apic_mode
&&
(
numnodes
>
1
))
{
if
(
clustered_apic_mode
&&
(
numnodes
>
1
))
{
for
(
quad
=
1
;
quad
<
numnodes
;
++
quad
)
{
for
(
quad
=
1
;
quad
<
numnodes
;
++
quad
)
{
...
@@ -112,3 +115,5 @@ static int __init pci_numa_init(void)
...
@@ -112,3 +115,5 @@ static int __init pci_numa_init(void)
}
}
return
0
;
return
0
;
}
}
subsys_initcall
(
pci_numa_init
);
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