Re: [2.6 patch] block/blk-barrier.c:blk_ordered_cur_seq() mustn't be inline

From: Jens Axboe
Date: Tue Apr 29 2008 - 03:46:19 EST


On Mon, Apr 28 2008, Adrian Bunk wrote:
> This patch fixes the following build error with UML and gcc 4.3:
>
> <-- snip -->
>
> ...
> CC block/blk-barrier.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/block/blk-barrier.c: In function ???blk_do_ordered???:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/block/blk-barrier.c:57: sorry, unimplemented: inlining failed in call to ???blk_ordered_cur_seq???: function body not available
> /home/bunk/linux/kernel-2.6/git/linux-2.6/block/blk-barrier.c:252: sorry, unimplemented: called from here
> /home/bunk/linux/kernel-2.6/git/linux-2.6/block/blk-barrier.c:57: sorry, unimplemented: inlining failed in call to ???blk_ordered_cur_seq???: function body not available
> /home/bunk/linux/kernel-2.6/git/linux-2.6/block/blk-barrier.c:253: sorry, unimplemented: called from here
> make[2]: *** [block/blk-barrier.o] Error 1
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

Applied

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/