diff options
Diffstat (limited to 'mm/page-writeback.c')
| -rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 0d7bbe859550..9886424e1864 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
| @@ -694,6 +694,7 @@ int dirty_writeback_centisecs_handler(ctl_table *table, int write, | |||
| 694 | return 0; | 694 | return 0; |
| 695 | } | 695 | } |
| 696 | 696 | ||
| 697 | #ifdef CONFIG_BLOCK | ||
| 697 | void laptop_mode_timer_fn(unsigned long data) | 698 | void laptop_mode_timer_fn(unsigned long data) |
| 698 | { | 699 | { |
| 699 | struct request_queue *q = (struct request_queue *)data; | 700 | struct request_queue *q = (struct request_queue *)data; |
| @@ -735,6 +736,7 @@ void laptop_sync_completion(void) | |||
| 735 | 736 | ||
| 736 | rcu_read_unlock(); | 737 | rcu_read_unlock(); |
| 737 | } | 738 | } |
| 739 | #endif | ||
| 738 | 740 | ||
| 739 | /* | 741 | /* |
| 740 | * If ratelimit_pages is too high then we can get into dirty-data overload | 742 | * If ratelimit_pages is too high then we can get into dirty-data overload |
