Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
037cab07
Commit
037cab07
authored
Mar 11, 2008
by
Alexey Starikovskiy
Committed by
Ingo Molnar
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: move mp_bus_id_to_node to numa.c
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
e129cb49
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
3 deletions
+4
-3
arch/x86/kernel/mpparse_32.c
arch/x86/kernel/mpparse_32.c
+0
-1
arch/x86/kernel/summit_32.c
arch/x86/kernel/summit_32.c
+2
-0
arch/x86/pci/numa.c
arch/x86/pci/numa.c
+1
-0
include/asm-x86/mach-numaq/mach_mpparse.h
include/asm-x86/mach-numaq/mach_mpparse.h
+1
-0
include/asm-x86/mpspec.h
include/asm-x86/mpspec.h
+0
-2
No files found.
arch/x86/kernel/mpparse_32.c
View file @
037cab07
...
@@ -46,7 +46,6 @@ int apic_version [MAX_APICS];
...
@@ -46,7 +46,6 @@ int apic_version [MAX_APICS];
int
mp_bus_id_to_type
[
MAX_MP_BUSSES
];
int
mp_bus_id_to_type
[
MAX_MP_BUSSES
];
#endif
#endif
DECLARE_BITMAP
(
mp_bus_not_pci
,
MAX_MP_BUSSES
);
DECLARE_BITMAP
(
mp_bus_not_pci
,
MAX_MP_BUSSES
);
int
mp_bus_id_to_node
[
MAX_MP_BUSSES
];
int
mp_bus_id_to_pci_bus
[
MAX_MP_BUSSES
]
=
{
[
0
...
MAX_MP_BUSSES
-
1
]
=
-
1
};
int
mp_bus_id_to_pci_bus
[
MAX_MP_BUSSES
]
=
{
[
0
...
MAX_MP_BUSSES
-
1
]
=
-
1
};
static
int
mp_current_pci_id
;
static
int
mp_current_pci_id
;
...
...
arch/x86/kernel/summit_32.c
View file @
037cab07
...
@@ -35,6 +35,8 @@ static struct rio_table_hdr *rio_table_hdr __initdata;
...
@@ -35,6 +35,8 @@ static struct rio_table_hdr *rio_table_hdr __initdata;
static
struct
scal_detail
*
scal_devs
[
MAX_NUMNODES
]
__initdata
;
static
struct
scal_detail
*
scal_devs
[
MAX_NUMNODES
]
__initdata
;
static
struct
rio_detail
*
rio_devs
[
MAX_NUMNODES
*
4
]
__initdata
;
static
struct
rio_detail
*
rio_devs
[
MAX_NUMNODES
*
4
]
__initdata
;
static
int
mp_bus_id_to_node
[
MAX_MP_BUSSES
]
__initdata
;
static
int
__init
setup_pci_node_map_for_wpeg
(
int
wpeg_num
,
int
last_bus
)
static
int
__init
setup_pci_node_map_for_wpeg
(
int
wpeg_num
,
int
last_bus
)
{
{
int
twister
=
0
,
node
=
0
;
int
twister
=
0
,
node
=
0
;
...
...
arch/x86/pci/numa.c
View file @
037cab07
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#define XQUAD_PORTIO_BASE 0xfe400000
#define XQUAD_PORTIO_BASE 0xfe400000
#define XQUAD_PORTIO_QUAD 0x40000
/* 256k per quad. */
#define XQUAD_PORTIO_QUAD 0x40000
/* 256k per quad. */
int
mp_bus_id_to_node
[
MAX_MP_BUSSES
];
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
int
mp_bus_id_to_local
[
MAX_MP_BUSSES
];
int
mp_bus_id_to_local
[
MAX_MP_BUSSES
];
...
...
include/asm-x86/mach-numaq/mach_mpparse.h
View file @
037cab07
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
#define __ASM_MACH_MPPARSE_H
#define __ASM_MACH_MPPARSE_H
extern
int
mp_bus_id_to_local
[
MAX_MP_BUSSES
];
extern
int
mp_bus_id_to_local
[
MAX_MP_BUSSES
];
extern
int
mp_bus_id_to_node
[
MAX_MP_BUSSES
];
static
inline
void
mpc_oem_bus_info
(
struct
mpc_config_bus
*
m
,
char
*
name
,
static
inline
void
mpc_oem_bus_info
(
struct
mpc_config_bus
*
m
,
char
*
name
,
struct
mpc_config_translation
*
translation
)
struct
mpc_config_translation
*
translation
)
...
...
include/asm-x86/mpspec.h
View file @
037cab07
...
@@ -6,8 +6,6 @@
...
@@ -6,8 +6,6 @@
#ifdef CONFIG_X86_32
#ifdef CONFIG_X86_32
#include <mach_mpspec.h>
#include <mach_mpspec.h>
extern
int
mp_bus_id_to_node
[
MAX_MP_BUSSES
];
extern
unsigned
int
def_to_bigsmp
;
extern
unsigned
int
def_to_bigsmp
;
extern
int
apic_version
[
MAX_APICS
];
extern
int
apic_version
[
MAX_APICS
];
extern
u8
apicid_2_node
[];
extern
u8
apicid_2_node
[];
...
...
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