projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea7d7c
)
yaffs: Change timer init call to init_timer_on_stack
author
Charles Manning
<cdhmanning@gmail.com>
Thu, 17 Jun 2010 05:51:33 +0000
(17:51 +1200)
committer
Charles Manning
<cdhmanning@gmail.com>
Thu, 17 Jun 2010 05:51:33 +0000
(17:51 +1200)
This call is more debug friendly and does not trigger certain kernel warmings.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_fs.c
patch
|
blob
|
history
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;