Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
e762f3d1
Commit
e762f3d1
authored
Oct 24, 2013
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: fix IRQ handler to work correctly with edge-sensitive VME64x core interrupt input
parent
b9fe0227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
svec-irq.c
kernel/svec-irq.c
+6
-6
No files found.
kernel/svec-irq.c
View file @
e762f3d1
...
...
@@ -20,7 +20,7 @@ static int svec_irq_handler(void *data)
{
struct
svec_dev
*
svec
=
(
struct
svec_dev
*
)
data
;
int
i
;
int
rv
=
-
1
;
int
rv
=
IRQ_HANDLED
;
unsigned
long
flags
;
svec
->
irq_count
++
;
...
...
@@ -35,11 +35,11 @@ static int svec_irq_handler(void *data)
for
(
i
=
0
;
i
<
SVEC_N_SLOTS
;
i
++
)
{
irq_handler_t
handler
=
svec
->
fmc_handlers
[
i
];
if
(
handler
)
{
rv
=
handler
(
i
,
svec
->
fmcs
[
i
]);
if
(
rv
==
IRQ_HANDLED
)
break
;
}
/* Call all handlers even if the current one returned IRQ_HANDLED. The SVEC
VME Core IRQ is edge-sensitive, doing otherwise could result in missed irqs! */
if
(
handler
)
handler
(
i
,
svec
->
fmcs
[
i
])
;
}
}
...
...
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