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-04-22 11:42:00 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 07:56:05 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-05 13:25:52 -05:00
2010-04-29 09:36:24 +02:00
2010-03-30 22:02:32 +09:00
2010-04-14 18:45:31 -07:00
2010-04-22 12:09:48 +02:00
2010-04-22 12:12:40 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-22 12:22:04 +02:00
2010-04-22 12:26:04 +02:00
2009-10-27 19:34:04 -04:00
2010-04-12 21:11:25 +02:00
2010-04-28 19:47:36 +02:00
2010-04-29 09:36:24 +02:00
2010-04-05 11:37:28 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-28 19:47:36 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-03 14:08:00 -05:00
2009-12-16 12:16:47 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 19:47:36 +02:00
2010-03-30 22:02:32 +09:00
2010-04-21 12:30:07 -07:00
2010-03-30 22:02:32 +09:00
2010-04-21 12:31:12 -07:00
2010-03-30 22:02:32 +09:00
2010-04-22 12:31:11 +02:00
2010-04-28 20:40:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-26 15:39:08 -04:00
2010-04-29 09:32:00 +02:00
2009-09-30 09:31:14 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-21 20:01:03 +02:00
2010-04-27 16:26:03 -07:00
2010-02-04 11:55:46 +01:00
2010-04-20 18:25:25 +02:00
2010-03-30 22:02:32 +09:00
2010-04-29 09:36:24 +02:00
2010-01-26 22:22:26 -05:00
2010-04-22 12:37:07 +02:00
2010-04-25 02:09:05 +01:00
2010-03-30 22:02:32 +09:00
2010-03-05 13:25:52 -05:00
2010-03-30 22:02:32 +09:00
2010-04-08 15:35:20 +02:00
2010-03-12 15:52:35 -08:00
2010-04-29 09:36:24 +02:00
2009-12-16 07:20:13 -08:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-04-27 09:01:26 -07:00
2010-03-06 11:26:46 -08:00
2010-03-30 22:02:32 +09:00
2010-04-21 13:28:49 +10:00
2010-03-30 22:02:32 +09:00
2010-01-29 08:22:01 -08:00
2010-03-30 22:02:32 +09:00
2010-03-19 08:05:10 +01:00
2010-04-29 09:36:24 +02:00
2010-05-21 20:01:02 +02:00
2009-09-24 07:21:03 -07:00
2010-03-06 11:26:45 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-03 14:13:08 -05:00
2009-12-17 04:52:13 -05:00
2009-09-24 07:21:04 -07:00
2010-03-30 22:02:32 +09:00
2009-12-22 12:27:34 -05:00
2010-03-06 11:26:46 -08:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-05-21 20:00:25 +02:00
2010-03-30 22:02:32 +09:00
2010-03-05 00:20:30 +01:00
2010-03-03 14:07:59 -05:00
2010-04-23 10:39:48 -07:00
2010-03-30 22:02:32 +09:00
2010-03-19 09:43:06 -07:00
2010-03-30 22:02:32 +09:00
2010-03-08 16:55:37 +01:00
2010-03-19 09:43:06 -07:00
2010-03-30 22:02:32 +09:00
2010-03-26 12:41:05 -04:00
2010-03-03 14:08:00 -05:00
2010-03-03 13:00:21 -05:00
2010-03-30 22:02:32 +09:00
2009-12-17 10:51:40 -05:00
2010-03-03 13:00:22 -05:00
2010-03-03 14:07:55 -05:00
2010-03-24 16:43:29 -07:00
2010-03-12 15:52:32 -08:00
2010-03-07 15:48:26 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-17 10:58:17 -05:00
2009-12-23 13:33:54 +01:00
2010-05-21 20:01:03 +02:00
2010-05-17 12:55:07 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-16 12:16:49 -05:00