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
5d31aae8
Commit
5d31aae8
authored
Feb 06, 2004
by
Len Brown
Committed by
Len Brown
Feb 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] nforce2 timer lockup from Maciej W. Rozycki
parent
651f8c98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c
+5
-4
No files found.
arch/i386/kernel/mpparse.c
View file @
5d31aae8
...
@@ -940,7 +940,7 @@ void __init mp_override_legacy_irq (
...
@@ -940,7 +940,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
;
...
@@ -961,7 +961,7 @@ void __init mp_override_legacy_irq (
...
@@ -961,7 +961,7 @@ 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_srcbusirq
==
intsrc
.
mpc_srcbusirq
))
{
&&
(
mp_irqs
[
i
].
mpc_srcbusirq
==
intsrc
.
mpc_srcbusirq
))
{
mp_irqs
[
i
]
=
intsrc
;
mp_irqs
[
i
]
=
intsrc
;
found
=
1
;
found
=
1
;
...
@@ -1008,9 +1008,10 @@ void __init mp_config_acpi_legacy_irqs (void)
...
@@ -1008,9 +1008,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