git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
sbus
/
char
/
bbc_envctrl.c
diff --git
a/drivers/sbus/char/bbc_envctrl.c
b/drivers/sbus/char/bbc_envctrl.c
index
37189ef
..
d5259f7
100644
(file)
--- a/
drivers/sbus/char/bbc_envctrl.c
+++ b/
drivers/sbus/char/bbc_envctrl.c
@@
-452,7
+452,7
@@
static void fans_full_blast(void)
}
}
}
}
-#define POLL_INTERVAL (5 *
HZ
)
+#define POLL_INTERVAL (5 *
1000
)
static unsigned long last_warning_jiffies;
static struct task_struct *kenvctrld_task;
static unsigned long last_warning_jiffies;
static struct task_struct *kenvctrld_task;
@@
-468,8
+468,7
@@
static int kenvctrld(void *__unused)
struct bbc_cpu_temperature *tp;
struct bbc_fan_control *fp;
struct bbc_cpu_temperature *tp;
struct bbc_fan_control *fp;
- current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(POLL_INTERVAL);
+ msleep_interruptible(POLL_INTERVAL);
if (signal_pending(current))
break;
if (signal_pending(current))
break;