Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite - base
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
1
Merge Requests
1
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
Production Test Suite - base
Commits
9ba91a45
Commit
9ba91a45
authored
May 09, 2012
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove timeout in interrupt wait.
parent
14302268
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
rawrabbit-core.c
gnurabbit/kernel/rawrabbit-core.c
+1
-2
No files found.
gnurabbit/kernel/rawrabbit-core.c
View file @
9ba91a45
...
@@ -551,8 +551,7 @@ static long rr_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
...
@@ -551,8 +551,7 @@ static long rr_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
ret
=
-
EAGAIN
;
/* already happened */
ret
=
-
EAGAIN
;
/* already happened */
break
;
break
;
}
}
/* IRQ timeout of 1 second */
wait_event_interruptible
(
dev
->
q
,
count
!=
dev
->
irqcount
);
wait_event_interruptible_timeout
(
dev
->
q
,
count
!=
dev
->
irqcount
,
HZ
);
if
(
signal_pending
(
current
))
if
(
signal_pending
(
current
))
ret
=
-
ERESTARTSYS
;
ret
=
-
ERESTARTSYS
;
break
;
break
;
...
...
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