|
@@ -106,10 +106,14 @@ static inline void inode_sync_wait(struct inode *inode)
|
|
/*
|
|
/*
|
|
* mm/page-writeback.c
|
|
* mm/page-writeback.c
|
|
*/
|
|
*/
|
|
|
|
+#ifdef CONFIG_BLOCK
|
|
void laptop_io_completion(struct backing_dev_info *info);
|
|
void laptop_io_completion(struct backing_dev_info *info);
|
|
void laptop_sync_completion(void);
|
|
void laptop_sync_completion(void);
|
|
void laptop_mode_sync(struct work_struct *work);
|
|
void laptop_mode_sync(struct work_struct *work);
|
|
void laptop_mode_timer_fn(unsigned long data);
|
|
void laptop_mode_timer_fn(unsigned long data);
|
|
|
|
+#else
|
|
|
|
+static inline void laptop_sync_completion(void) { }
|
|
|
|
+#endif
|
|
void throttle_vm_writeout(gfp_t gfp_mask);
|
|
void throttle_vm_writeout(gfp_t gfp_mask);
|
|
|
|
|
|
/* These are exported to sysctl. */
|
|
/* These are exported to sysctl. */
|