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
nexedi
linux
Commits
f6497de6
Commit
f6497de6
authored
Feb 13, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] interrupt over-ride fix from i386 (Maciej W. Rozycki)
parent
22a50562
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
arch/x86_64/kernel/mpparse.c
arch/x86_64/kernel/mpparse.c
+6
-5
No files found.
arch/x86_64/kernel/mpparse.c
View file @
f6497de6
...
@@ -787,7 +787,7 @@ void __init mp_override_legacy_irq (
...
@@ -787,7 +787,7 @@ void __init mp_override_legacy_irq (
* erroneously sets the trigger to level, resulting in a HUGE
* erroneously sets the trigger to level, resulting in a HUGE
* increase of timer interrupts!
* increase of timer interrupts!
*/
*/
if
((
bus_irq
==
0
)
&&
(
global_irq
==
2
)
&&
(
trigger
==
3
))
if
((
bus_irq
==
0
)
&&
(
trigger
==
3
))
trigger
=
1
;
trigger
=
1
;
intsrc
.
mpc_type
=
MP_INTSRC
;
intsrc
.
mpc_type
=
MP_INTSRC
;
...
@@ -808,8 +808,8 @@ void __init mp_override_legacy_irq (
...
@@ -808,8 +808,8 @@ void __init mp_override_legacy_irq (
* Otherwise create a new entry (e.g. global_irq == 2).
* Otherwise create a new entry (e.g. global_irq == 2).
*/
*/
for
(
i
=
0
;
i
<
mp_irq_entries
;
i
++
)
{
for
(
i
=
0
;
i
<
mp_irq_entries
;
i
++
)
{
if
((
mp_irqs
[
i
].
mpc_
dstapic
==
intsrc
.
mpc_dstapic
)
if
((
mp_irqs
[
i
].
mpc_
srcbus
==
intsrc
.
mpc_srcbus
)
&&
(
mp_irqs
[
i
].
mpc_
dstirq
==
intsrc
.
mpc_dst
irq
))
{
&&
(
mp_irqs
[
i
].
mpc_
srcbusirq
==
intsrc
.
mpc_srcbus
irq
))
{
mp_irqs
[
i
]
=
intsrc
;
mp_irqs
[
i
]
=
intsrc
;
found
=
1
;
found
=
1
;
break
;
break
;
...
@@ -855,9 +855,10 @@ void __init mp_config_acpi_legacy_irqs (void)
...
@@ -855,9 +855,10 @@ void __init mp_config_acpi_legacy_irqs (void)
*/
*/
for
(
i
=
0
;
i
<
16
;
i
++
)
{
for
(
i
=
0
;
i
<
16
;
i
++
)
{
if
(
i
==
2
)
continue
;
/* Don't connect IRQ2 */
if
(
i
==
2
)
continue
;
/* Don't connect IRQ2 */
intsrc
.
mpc_irqtype
=
i
?
mp_INT
:
mp_ExtINT
;
/* 8259A to #0 */
intsrc
.
mpc_irqtype
=
mp_INT
;
intsrc
.
mpc_srcbusirq
=
i
;
/* Identity mapped */
intsrc
.
mpc_srcbusirq
=
i
;
/* Identity mapped */
intsrc
.
mpc_dstirq
=
i
;
intsrc
.
mpc_dstirq
=
i
;
...
...
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