diff options
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r-- | include/linux/writeback.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 47e1c686cb02..cc97d6caf2b3 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -106,10 +106,14 @@ static inline void inode_sync_wait(struct inode *inode) | |||
106 | /* | 106 | /* |
107 | * mm/page-writeback.c | 107 | * mm/page-writeback.c |
108 | */ | 108 | */ |
109 | #ifdef CONFIG_BLOCK | ||
109 | void laptop_io_completion(struct backing_dev_info *info); | 110 | void laptop_io_completion(struct backing_dev_info *info); |
110 | void laptop_sync_completion(void); | 111 | void laptop_sync_completion(void); |
111 | void laptop_mode_sync(struct work_struct *work); | 112 | void laptop_mode_sync(struct work_struct *work); |
112 | void laptop_mode_timer_fn(unsigned long data); | 113 | void laptop_mode_timer_fn(unsigned long data); |
114 | #else | ||
115 | static inline void laptop_sync_completion(void) { } | ||
116 | #endif | ||
113 | void throttle_vm_writeout(gfp_t gfp_mask); | 117 | void throttle_vm_writeout(gfp_t gfp_mask); |
114 | 118 | ||
115 | /* These are exported to sysctl. */ | 119 | /* These are exported to sysctl. */ |