From: Jens Axboe Date: Tue, 15 Sep 2009 19:53:11 +0000 (+0200) Subject: block: fix linkage problem with blk_iopoll and !CONFIG_BLOCK X-Git-Tag: v2.6.32-rc1~671^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb684b5bcd6a79ae7e2360c6b158c4aa7b0a293a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed