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
6d89db78
Commit
6d89db78
authored
Oct 15, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: clear IRQ_INPROGRESS in setup_irq and enable_irq
parent
1e6e9646
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
arch/ppc64/kernel/irq.c
arch/ppc64/kernel/irq.c
+2
-5
No files found.
arch/ppc64/kernel/irq.c
View file @
6d89db78
...
@@ -55,9 +55,6 @@
...
@@ -55,9 +55,6 @@
#include <asm/machdep.h>
#include <asm/machdep.h>
#include <asm/paca.h>
#include <asm/paca.h>
void
enable_irq
(
unsigned
int
irq_nr
);
void
disable_irq
(
unsigned
int
irq_nr
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
extern
void
iSeries_smp_message_recv
(
struct
pt_regs
*
);
extern
void
iSeries_smp_message_recv
(
struct
pt_regs
*
);
#endif
#endif
...
@@ -123,7 +120,7 @@ setup_irq(unsigned int irq, struct irqaction * new)
...
@@ -123,7 +120,7 @@ setup_irq(unsigned int irq, struct irqaction * new)
if
(
!
shared
)
{
if
(
!
shared
)
{
desc
->
depth
=
0
;
desc
->
depth
=
0
;
desc
->
status
&=
~
(
IRQ_DISABLED
|
IRQ_AUTODETECT
|
IRQ_WAITING
);
desc
->
status
&=
~
(
IRQ_DISABLED
|
IRQ_AUTODETECT
|
IRQ_WAITING
|
IRQ_INPROGRESS
);
unmask_irq
(
irq
);
unmask_irq
(
irq
);
}
}
spin_unlock_irqrestore
(
&
desc
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
desc
->
lock
,
flags
);
...
@@ -297,7 +294,7 @@ void enable_irq(unsigned int irq)
...
@@ -297,7 +294,7 @@ void enable_irq(unsigned int irq)
spin_lock_irqsave
(
&
desc
->
lock
,
flags
);
spin_lock_irqsave
(
&
desc
->
lock
,
flags
);
switch
(
desc
->
depth
)
{
switch
(
desc
->
depth
)
{
case
1
:
{
case
1
:
{
unsigned
int
status
=
desc
->
status
&
~
IRQ_DISABLED
;
unsigned
int
status
=
desc
->
status
&
~
(
IRQ_DISABLED
|
IRQ_INPROGRESS
)
;
desc
->
status
=
status
;
desc
->
status
=
status
;
if
((
status
&
(
IRQ_PENDING
|
IRQ_REPLAY
))
==
IRQ_PENDING
)
{
if
((
status
&
(
IRQ_PENDING
|
IRQ_REPLAY
))
==
IRQ_PENDING
)
{
desc
->
status
=
status
|
IRQ_REPLAY
;
desc
->
status
=
status
|
IRQ_REPLAY
;
...
...
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