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
107781e7
Commit
107781e7
authored
Feb 07, 2011
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
genirq: Use handle_irq_event() in handle_simple_irq()
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
4912609f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
kernel/irq/chip.c
kernel/irq/chip.c
+2
-13
No files found.
kernel/irq/chip.c
View file @
107781e7
...
@@ -448,9 +448,6 @@ static bool irq_check_poll(struct irq_desc *desc)
...
@@ -448,9 +448,6 @@ static bool irq_check_poll(struct irq_desc *desc)
void
void
handle_simple_irq
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
handle_simple_irq
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
{
struct
irqaction
*
action
;
irqreturn_t
action_ret
;
raw_spin_lock
(
&
desc
->
lock
);
raw_spin_lock
(
&
desc
->
lock
);
if
(
unlikely
(
desc
->
status
&
IRQ_INPROGRESS
))
if
(
unlikely
(
desc
->
status
&
IRQ_INPROGRESS
))
...
@@ -460,19 +457,11 @@ handle_simple_irq(unsigned int irq, struct irq_desc *desc)
...
@@ -460,19 +457,11 @@ handle_simple_irq(unsigned int irq, struct irq_desc *desc)
desc
->
status
&=
~
(
IRQ_REPLAY
|
IRQ_WAITING
);
desc
->
status
&=
~
(
IRQ_REPLAY
|
IRQ_WAITING
);
kstat_incr_irqs_this_cpu
(
irq
,
desc
);
kstat_incr_irqs_this_cpu
(
irq
,
desc
);
action
=
desc
->
action
;
if
(
unlikely
(
!
desc
->
action
||
(
desc
->
status
&
IRQ_DISABLED
)))
if
(
unlikely
(
!
action
||
(
desc
->
status
&
IRQ_DISABLED
)))
goto
out_unlock
;
goto
out_unlock
;
desc
->
status
|=
IRQ_INPROGRESS
;
handle_irq_event
(
desc
);
raw_spin_unlock
(
&
desc
->
lock
);
action_ret
=
handle_IRQ_event
(
irq
,
action
);
if
(
!
noirqdebug
)
note_interrupt
(
irq
,
desc
,
action_ret
);
raw_spin_lock
(
&
desc
->
lock
);
desc
->
status
&=
~
IRQ_INPROGRESS
;
out_unlock:
out_unlock:
raw_spin_unlock
(
&
desc
->
lock
);
raw_spin_unlock
(
&
desc
->
lock
);
}
}
...
...
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