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
f32732f3
Commit
f32732f3
authored
Nov 05, 2003
by
Andrey Panin
Committed by
Linus Torvalds
Nov 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix visws irq breakage
This fixes visws subarch which was broken by asm-i386/hw_irq.h changes
parent
b251ccf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
arch/i386/mach-visws/visws_apic.c
arch/i386/mach-visws/visws_apic.c
+1
-5
No files found.
arch/i386/mach-visws/visws_apic.c
View file @
f32732f3
...
@@ -31,9 +31,6 @@
...
@@ -31,9 +31,6 @@
#include "irq_vectors.h"
#include "irq_vectors.h"
int
irq_vector
[
NR_IRQS
]
=
{
FIRST_EXTERNAL_VECTOR
,
0
};
static
spinlock_t
cobalt_lock
=
SPIN_LOCK_UNLOCKED
;
static
spinlock_t
cobalt_lock
=
SPIN_LOCK_UNLOCKED
;
/*
/*
...
@@ -42,7 +39,7 @@ static spinlock_t cobalt_lock = SPIN_LOCK_UNLOCKED;
...
@@ -42,7 +39,7 @@ static spinlock_t cobalt_lock = SPIN_LOCK_UNLOCKED;
*/
*/
static
inline
void
co_apic_set
(
int
entry
,
int
irq
)
static
inline
void
co_apic_set
(
int
entry
,
int
irq
)
{
{
co_apic_write
(
CO_APIC_LO
(
entry
),
CO_APIC_LEVEL
|
irq_vector
[
irq
]
);
co_apic_write
(
CO_APIC_LO
(
entry
),
CO_APIC_LEVEL
|
(
irq
+
FIRST_EXTERNAL_VECTOR
)
);
co_apic_write
(
CO_APIC_HI
(
entry
),
0
);
co_apic_write
(
CO_APIC_HI
(
entry
),
0
);
}
}
...
@@ -299,7 +296,6 @@ void init_VISWS_APIC_irqs(void)
...
@@ -299,7 +296,6 @@ void init_VISWS_APIC_irqs(void)
else
if
(
IS_CO_APIC
(
i
))
{
else
if
(
IS_CO_APIC
(
i
))
{
irq_desc
[
i
].
handler
=
&
cobalt_irq_type
;
irq_desc
[
i
].
handler
=
&
cobalt_irq_type
;
}
}
irq_vector
[
i
]
=
i
+
FIRST_EXTERNAL_VECTOR
;
}
}
setup_irq
(
CO_IRQ_8259
,
&
master_action
);
setup_irq
(
CO_IRQ_8259
,
&
master_action
);
...
...
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