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
707b47b7
Commit
707b47b7
authored
Apr 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FC4 SPARC]: Update for irqreturn_t.
parent
ae558895
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
drivers/fc4/soc.c
drivers/fc4/soc.c
+3
-1
drivers/fc4/socal.c
drivers/fc4/socal.c
+3
-1
No files found.
drivers/fc4/soc.c
View file @
707b47b7
...
...
@@ -335,7 +335,7 @@ static inline void soc_unsolicited (struct soc *s)
}
}
static
void
soc_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
soc_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
u32
cmd
;
unsigned
long
flags
;
...
...
@@ -349,6 +349,8 @@ static void soc_intr(int irq, void *dev_id, struct pt_regs *regs)
if
(
cmd
&
SOC_CMD_REQ_QALL
)
soc_request
(
s
,
cmd
);
}
spin_unlock_irqrestore
(
&
s
->
lock
,
flags
);
return
IRQ_HANDLED
;
}
#define TOKEN(proto, port, token) (((proto)<<12)|(token)|(port))
...
...
drivers/fc4/socal.c
View file @
707b47b7
...
...
@@ -405,7 +405,7 @@ static inline void socal_unsolicited (struct socal *s, unsigned long qno)
}
}
static
void
socal_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
socal_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
u32
cmd
;
unsigned
long
flags
;
...
...
@@ -429,6 +429,8 @@ static void socal_intr(int irq, void *dev_id, struct pt_regs *regs)
socal_request
(
s
,
cmd
);
}
spin_unlock_irqrestore
(
&
s
->
lock
,
flags
);
return
IRQ_HANDLED
;
}
#define TOKEN(proto, port, token) (((proto)<<12)|(token)|(port))
...
...
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