From: Peng Fan Date: Wed, 9 Dec 2020 08:42:03 +0000 (+0800) Subject: tools/virtio: include asm/bug.h X-Git-Tag: accepted/tizen/unified/20230118.172025~8132^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=697d1549140cdcdc4cfcd0bf94e62643008972b7;p=platform%2Fkernel%2Flinux-rpi.git tools/virtio: include asm/bug.h WARN_ON is used in drivers/vhost/vringh.c, to avoid build failure, need include asm/bug.h Signed-off-by: Peng Fan Link: https://lore.kernel.org/r/20201209084205.24062-2-peng.fan@oss.nxp.com Signed-off-by: Michael S. Tsirkin --- diff --git a/tools/virtio/linux/bug.h b/tools/virtio/linux/bug.h index b14c2c3..813baf1 100644 --- a/tools/virtio/linux/bug.h +++ b/tools/virtio/linux/bug.h @@ -2,6 +2,8 @@ #ifndef BUG_H #define BUG_H +#include + #define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond)) #define BUILD_BUG_ON(x)