block: fix linkage problem with blk_iopoll and !CONFIG_BLOCK
authorJens Axboe <jens.axboe@oracle.com>
Tue, 15 Sep 2009 19:53:11 +0000 (21:53 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 15 Sep 2009 19:53:11 +0000 (21:53 +0200)
commitcb684b5bcd6a79ae7e2360c6b158c4aa7b0a293a
treef6bccc81c1d4405873b5b936d1a7c12bc60a9f82
parent18240904960a39e582ced8ba8ececb10b8c22dd3
block: fix linkage problem with blk_iopoll and !CONFIG_BLOCK

 kernel/built-in.o:(.data+0x17b0): undefined reference to `blk_iopoll_enabled'

Since the extern declaration makes the compile work, but the actual
symbol is missing when block/blk-iopoll.o isn't linked in.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/sysctl.c