]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66b6c76ec9f628c27fee04e53df79e0190adf713
treef6bccc81c1d4405873b5b936d1a7c12bc60a9f82
parentcbb3d569b361f3da775ccedfed93addec8155621
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