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
28aa29ee
Commit
28aa29ee
authored
Feb 17, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove: genapic prepare
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
7d01d32d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
arch/x86/include/asm/genapic.h
arch/x86/include/asm/genapic.h
+1
-12
arch/x86/kernel/probe_32.c
arch/x86/kernel/probe_32.c
+9
-0
No files found.
arch/x86/include/asm/genapic.h
View file @
28aa29ee
...
@@ -168,8 +168,6 @@ extern void apic_send_IPI_self(int vector);
...
@@ -168,8 +168,6 @@ extern void apic_send_IPI_self(int vector);
extern
struct
genapic
apic_x2apic_uv_x
;
extern
struct
genapic
apic_x2apic_uv_x
;
DECLARE_PER_CPU
(
int
,
x2apic_extra_bits
);
DECLARE_PER_CPU
(
int
,
x2apic_extra_bits
);
extern
void
default_setup_apic_routing
(
void
);
extern
int
default_cpu_present_to_apicid
(
int
mps_cpu
);
extern
int
default_cpu_present_to_apicid
(
int
mps_cpu
);
extern
int
default_check_phys_apicid_present
(
int
boot_cpu_physical_apicid
);
extern
int
default_check_phys_apicid_present
(
int
boot_cpu_physical_apicid
);
#endif
#endif
...
@@ -211,10 +209,9 @@ static inline unsigned int read_apic_id(void)
...
@@ -211,10 +209,9 @@ static inline unsigned int read_apic_id(void)
return
apic
->
get_apic_id
(
reg
);
return
apic
->
get_apic_id
(
reg
);
}
}
#ifdef CONFIG_X86_64
extern
void
default_setup_apic_routing
(
void
);
extern
void
default_setup_apic_routing
(
void
);
#else
#ifdef CONFIG_X86_32
/*
/*
* Set up the logical destination ID.
* Set up the logical destination ID.
*
*
...
@@ -251,14 +248,6 @@ static inline int default_phys_pkg_id(int cpuid_apic, int index_msb)
...
@@ -251,14 +248,6 @@ static inline int default_phys_pkg_id(int cpuid_apic, int index_msb)
return
cpuid_apic
>>
index_msb
;
return
cpuid_apic
>>
index_msb
;
}
}
static
inline
void
default_setup_apic_routing
(
void
)
{
#ifdef CONFIG_X86_IO_APIC
printk
(
"Enabling APIC mode: %s. Using %d I/O APICs
\n
"
,
"Flat"
,
nr_ioapics
);
#endif
}
extern
int
default_apicid_to_node
(
int
logical_apicid
);
extern
int
default_apicid_to_node
(
int
logical_apicid
);
#endif
#endif
...
...
arch/x86/kernel/probe_32.c
View file @
28aa29ee
...
@@ -53,6 +53,15 @@ int no_broadcast = DEFAULT_SEND_IPI;
...
@@ -53,6 +53,15 @@ int no_broadcast = DEFAULT_SEND_IPI;
#ifdef CONFIG_X86_LOCAL_APIC
#ifdef CONFIG_X86_LOCAL_APIC
void
default_setup_apic_routing
(
void
)
{
#ifdef CONFIG_X86_IO_APIC
printk
(
KERN_INFO
"Enabling APIC mode: Flat. Using %d I/O APICs
\n
"
,
nr_ioapics
);
#endif
}
static
void
default_vector_allocation_domain
(
int
cpu
,
struct
cpumask
*
retmask
)
static
void
default_vector_allocation_domain
(
int
cpu
,
struct
cpumask
*
retmask
)
{
{
/*
/*
...
...
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