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
ce9240e9
Commit
ce9240e9
authored
Sep 28, 2003
by
Alexey Dobriyan
Committed by
Greg Kroah-Hartman
Sep 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: Remove setting TASK_RUNNING after schedule_timeout in /drivers/pci/
parent
f047f29b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
drivers/pci/hotplug/cpqphp.h
drivers/pci/hotplug/cpqphp.h
+0
-1
drivers/pci/pool.c
drivers/pci/pool.c
+0
-1
No files found.
drivers/pci/hotplug/cpqphp.h
View file @
ce9240e9
...
...
@@ -766,7 +766,6 @@ static inline int wait_for_ctrl_irq (struct controller *ctrl)
set_current_state
(
TASK_INTERRUPTIBLE
);
/* Sleep for up to 1 second to wait for the LED to change. */
schedule_timeout
(
1
*
HZ
);
set_current_state
(
TASK_RUNNING
);
remove_wait_queue
(
&
ctrl
->
queue
,
&
wait
);
if
(
signal_pending
(
current
))
retval
=
-
EINTR
;
...
...
drivers/pci/pool.c
View file @
ce9240e9
...
...
@@ -296,7 +296,6 @@ pci_pool_alloc (struct pci_pool *pool, int mem_flags, dma_addr_t *handle)
schedule_timeout
(
POOL_TIMEOUT_JIFFIES
);
current
->
state
=
TASK_RUNNING
;
remove_wait_queue
(
&
pool
->
waitq
,
&
wait
);
goto
restart
;
}
...
...
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