diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/backing-dev.h | 3 | ||||
-rw-r--r-- | include/linux/writeback.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index fcbc26af00e4..2742e1adfc30 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
17 | #include <linux/timer.h> | ||
17 | #include <linux/writeback.h> | 18 | #include <linux/writeback.h> |
18 | #include <asm/atomic.h> | 19 | #include <asm/atomic.h> |
19 | 20 | ||
@@ -88,6 +89,8 @@ struct backing_dev_info { | |||
88 | 89 | ||
89 | struct device *dev; | 90 | struct device *dev; |
90 | 91 | ||
92 | struct timer_list laptop_mode_wb_timer; | ||
93 | |||
91 | #ifdef CONFIG_DEBUG_FS | 94 | #ifdef CONFIG_DEBUG_FS |
92 | struct dentry *debug_dir; | 95 | struct dentry *debug_dir; |
93 | struct dentry *debug_stats; | 96 | struct dentry *debug_stats; |
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 36520ded3e06..eb38a2c645f6 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -96,8 +96,10 @@ static inline void inode_sync_wait(struct inode *inode) | |||
96 | /* | 96 | /* |
97 | * mm/page-writeback.c | 97 | * mm/page-writeback.c |
98 | */ | 98 | */ |
99 | void laptop_io_completion(void); | 99 | void laptop_io_completion(struct backing_dev_info *info); |
100 | void laptop_sync_completion(void); | 100 | void laptop_sync_completion(void); |
101 | void laptop_mode_sync(struct work_struct *work); | ||
102 | void laptop_mode_timer_fn(unsigned long data); | ||
101 | void throttle_vm_writeout(gfp_t gfp_mask); | 103 | void throttle_vm_writeout(gfp_t gfp_mask); |
102 | 104 | ||
103 | /* These are exported to sysctl. */ | 105 | /* These are exported to sysctl. */ |