projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
yaffs: Change timer init call to init_timer_on_stack
[yaffs2.git]
/
yaffs_fs.c
diff --git
a/yaffs_fs.c
b/yaffs_fs.c
index 36cbd4edc1226ef393143b7ba93df0cde66a7ec4..77b51cf9cf655086ba4bb636b43f055488a5839e 100644
(file)
--- a/
yaffs_fs.c
+++ b/
yaffs_fs.c
@@
-2227,7
+2227,7
@@
static int yaffs_BackgroundThread(void *data)
if(time_before(expires,now))
expires = now + HZ;
- init_timer(&timer);
+ init_timer
_on_stack
(&timer);
timer.expires = expires+1;
timer.data = (unsigned long) current;
timer.function = yaffs_background_waker;