aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r--include/linux/writeback.h4
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
109void laptop_io_completion(struct backing_dev_info *info); 110void laptop_io_completion(struct backing_dev_info *info);
110void laptop_sync_completion(void); 111void laptop_sync_completion(void);
111void laptop_mode_sync(struct work_struct *work); 112void laptop_mode_sync(struct work_struct *work);
112void laptop_mode_timer_fn(unsigned long data); 113void laptop_mode_timer_fn(unsigned long data);
114#else
115static inline void laptop_sync_completion(void) { }
116#endif
113void throttle_vm_writeout(gfp_t gfp_mask); 117void throttle_vm_writeout(gfp_t gfp_mask);
114 118
115/* These are exported to sysctl. */ 119/* These are exported to sysctl. */