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
fad32c61
Commit
fad32c61
authored
Apr 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI AIC7XXX_OLD]: Update for irqreturn_t.
parent
73f926bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/scsi/aic7xxx_old.c
drivers/scsi/aic7xxx_old.c
+4
-2
No files found.
drivers/scsi/aic7xxx_old.c
View file @
fad32c61
...
@@ -6484,7 +6484,7 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -6484,7 +6484,7 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
* above. Please, children, do not try this at home, and if you ever see
* above. Please, children, do not try this at home, and if you ever see
* anything like it, please inform the Gross Hack Police immediately
* anything like it, please inform the Gross Hack Police immediately
*-F*************************************************************************/
*-F*************************************************************************/
static
void
static
irqreturn_t
do_aic7xxx_isr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
do_aic7xxx_isr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
unsigned
long
cpu_flags
;
unsigned
long
cpu_flags
;
...
@@ -6492,7 +6492,7 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -6492,7 +6492,7 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
p
=
(
struct
aic7xxx_host
*
)
dev_id
;
p
=
(
struct
aic7xxx_host
*
)
dev_id
;
if
(
!
p
)
if
(
!
p
)
return
;
return
IRQ_NONE
;
spin_lock_irqsave
(
p
->
host
->
host_lock
,
cpu_flags
);
spin_lock_irqsave
(
p
->
host
->
host_lock
,
cpu_flags
);
p
->
flags
|=
AHC_IN_ISR
;
p
->
flags
|=
AHC_IN_ISR
;
do
do
...
@@ -6503,6 +6503,8 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -6503,6 +6503,8 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
aic7xxx_run_waiting_queues
(
p
);
aic7xxx_run_waiting_queues
(
p
);
p
->
flags
&=
~
AHC_IN_ISR
;
p
->
flags
&=
~
AHC_IN_ISR
;
spin_unlock_irqrestore
(
p
->
host
->
host_lock
,
cpu_flags
);
spin_unlock_irqrestore
(
p
->
host
->
host_lock
,
cpu_flags
);
return
IRQ_HANDLED
;
}
}
/*+F*************************************************************************
/*+F*************************************************************************
...
...
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