diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2005-10-31 02:01:38 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 04:37:17 +0300 |
commit | a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 (patch) | |
tree | 0aa5fb9f80e4a476e097337104a3e1f94f39a96e /include/linux/kthread.h | |
parent | 9e4e23bccb127fac109e765dfb7f9372661cb415 (diff) | |
download | linux-a8db2db1e6a8d323d87a67c5391d48fe2b97faf5.tar.xz |
[PATCH] introduce setup_timer() helper
Every user of init_timer() also needs to initialize ->function and ->data
fields. This patch adds a simple setup_timer() helper for that.
The schedule_timeout() is patched as an example of usage.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kthread.h')
0 files changed, 0 insertions, 0 deletions