Jens Axboe
c2c4986edd
writeback: fix problem with !CONFIG_BLOCK compilation
...
When CONFIG_BLOCK isn't enabled:
mm/page-writeback.c: In function 'laptop_mode_timer_fn':
mm/page-writeback.c:708: error: dereferencing pointer to incomplete type
mm/page-writeback.c:709: error: dereferencing pointer to incomplete type
Fix this by essentially eliminating the laptop sync handlers when
CONFIG_BLOCK isn't set, as most are only used from the block layer code.
The exception is laptop_sync_completion() which is used from sys_sync(),
make that an empty declaration in that case.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com >
Signed-off-by: Jens Axboe <jens.axboe@oracle.com >
2010-05-21 20:01:03 +02:00
..
2010-03-29 17:33:33 +01:00
2010-04-05 23:02:00 -07:00
2010-03-24 16:31:21 -07:00
2010-03-20 14:29:03 -07:00
2010-04-19 13:17:10 +01:00
2010-03-30 22:02:32 +09:00
2010-03-22 05:32:44 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-08 12:53:57 -04:00
2010-05-21 20:00:35 +02:00
2010-03-16 19:47:54 +00:00
2010-04-07 08:38:01 -07:00
2010-05-21 20:01:02 +02:00
2010-03-24 16:31:22 -07:00
2010-04-28 09:20:33 +02:00
2010-03-30 22:02:32 +09:00
2010-05-18 01:25:00 +02:00
2010-05-18 01:25:00 +02:00
2010-05-18 01:17:47 +02:00
2010-04-09 08:36:07 +02:00
2010-03-29 14:30:19 -07:00
2010-03-29 14:30:19 -07:00
2010-04-15 22:18:36 +02:00
2010-04-15 22:18:36 +02:00
2010-03-26 23:51:44 +01:00
2010-04-29 09:36:24 +02:00
2010-03-29 09:14:47 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-16 08:55:32 +01:00
2010-03-24 08:20:03 +01:00
2010-05-21 20:01:02 +02:00
2010-03-21 21:19:02 -07:00
2010-03-30 22:02:32 +09:00
2010-03-23 13:33:50 -07:00
2010-04-01 16:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:04 -07:00
2010-04-07 08:38:02 -07:00
2010-04-20 13:08:30 +03:00
2010-04-06 10:55:33 -04:00
2010-03-17 18:43:47 -07:00
2010-04-07 08:38:04 -07:00
2010-04-05 19:50:02 -07:00
2010-04-22 12:31:11 +02:00
2010-03-18 21:16:45 -07:00
2010-03-25 11:17:26 +01:00
2010-03-20 14:29:03 -07:00
2010-04-12 07:55:15 -04:00
2010-03-18 07:30:31 -06:00
2010-04-07 08:38:05 -07:00
2010-04-05 09:39:11 -07:00
2010-04-01 08:26:31 +02:00
2010-04-24 11:31:25 -07:00
2010-04-09 10:12:03 -07:00
2010-04-19 08:37:19 +02:00
2010-03-24 16:31:21 -07:00
2010-03-30 22:02:32 +09:00
2010-03-24 11:13:35 -07:00
2010-04-09 10:09:50 -07:00
2010-04-22 12:37:07 +02:00
2010-03-27 08:29:01 -07:00
2010-03-22 13:12:33 -07:00
2010-03-30 22:02:32 +09:00
2010-03-16 10:10:40 +01:00
2010-03-19 07:17:57 -07:00
2010-03-19 07:24:23 -07:00
2010-04-08 09:46:19 +09:30
2010-03-19 07:17:52 -07:00
2010-05-21 20:01:03 +02:00