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)
 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>

No differences found