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
4c5ed073
Commit
4c5ed073
authored
Oct 07, 2002
by
Dave Jones
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] handle bogus zero IO-APIC addresses
From 2.4
parent
62ec0e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arch/i386/kernel/apic.c
arch/i386/kernel/apic.c
+8
-0
No files found.
arch/i386/kernel/apic.c
View file @
4c5ed073
...
@@ -713,7 +713,15 @@ void __init init_apic_mappings(void)
...
@@ -713,7 +713,15 @@ void __init init_apic_mappings(void)
for
(
i
=
0
;
i
<
nr_ioapics
;
i
++
)
{
for
(
i
=
0
;
i
<
nr_ioapics
;
i
++
)
{
if
(
smp_found_config
)
{
if
(
smp_found_config
)
{
ioapic_phys
=
mp_ioapics
[
i
].
mpc_apicaddr
;
ioapic_phys
=
mp_ioapics
[
i
].
mpc_apicaddr
;
if
(
!
ioapic_phys
)
{
printk
(
KERN_ERR
"WARNING: bogus zero IO-APIC address found in MPTABLE, disabling IO/APIC support!
\n
"
);
smp_found_config
=
0
;
skip_ioapic_setup
=
1
;
goto
fake_ioapic_page
;
}
}
else
{
}
else
{
fake_ioapic_page:
ioapic_phys
=
(
unsigned
long
)
alloc_bootmem_pages
(
PAGE_SIZE
);
ioapic_phys
=
(
unsigned
long
)
alloc_bootmem_pages
(
PAGE_SIZE
);
ioapic_phys
=
__pa
(
ioapic_phys
);
ioapic_phys
=
__pa
(
ioapic_phys
);
}
}
...
...
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