projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef631b0
)
kernel/softirq.c: fix sparse warning
author
H Hartley Sweeten
<
[email protected]
>
Thu, 16 Apr 2009 23:30:18 +0000
(19:30 -0400)
committer
Ingo Molnar
<
[email protected]
>
Thu, 16 Apr 2009 23:57:54 +0000
(
01:57
+0200)
Fix sparse warning in kernel/softirq.c.
warning: do-while statement is not a compound statement
Signed-off-by: H Hartley Sweeten <
[email protected]
>
LKML-Reference: <
BD79186B4FD85F4B8E60E381CAEE1909015F9033
@mi8nycmail19.Mi8.com>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/softirq.c
patch
|
blob
|
history
diff --git
a/kernel/softirq.c
b/kernel/softirq.c
index 2fecefacdc5bc56917c13369420625a919e73c14..b525dd348511b0bda3b08c19ffef6df0cf053206 100644
(file)
--- a/
kernel/softirq.c
+++ b/
kernel/softirq.c
@@
-472,9
+472,9
@@
void tasklet_kill(struct tasklet_struct *t)
printk("Attempt to kill tasklet from interrupt\n");
while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) {
- do
+ do
{
yield();
- while (test_bit(TASKLET_STATE_SCHED, &t->state));
+
}
while (test_bit(TASKLET_STATE_SCHED, &t->state));
}
tasklet_unlock_wait(t);
clear_bit(TASKLET_STATE_SCHED, &t->state);