Skip to content
Commit cb684b5b authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 18240904
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment