diff options
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index a6329fa8f862..0166ea15c9ee 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -368,10 +368,8 @@ int wakeup_pdflush(long nr_pages) | |||
368 | static void wb_timer_fn(unsigned long unused); | 368 | static void wb_timer_fn(unsigned long unused); |
369 | static void laptop_timer_fn(unsigned long unused); | 369 | static void laptop_timer_fn(unsigned long unused); |
370 | 370 | ||
371 | static struct timer_list wb_timer = | 371 | static DEFINE_TIMER(wb_timer, wb_timer_fn, 0, 0); |
372 | TIMER_INITIALIZER(wb_timer_fn, 0, 0); | 372 | static DEFINE_TIMER(laptop_mode_wb_timer, laptop_timer_fn, 0, 0); |
373 | static struct timer_list laptop_mode_wb_timer = | ||
374 | TIMER_INITIALIZER(laptop_timer_fn, 0, 0); | ||
375 | 373 | ||
376 | /* | 374 | /* |
377 | * Periodic writeback of "old" data. | 375 | * Periodic writeback of "old" data. |