projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ef73b
)
tools/virtio: include asm/bug.h
author
Peng Fan
<peng.fan@nxp.com>
Wed, 9 Dec 2020 08:42:03 +0000
(16:42 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 18 Dec 2020 21:14:30 +0000
(16:14 -0500)
WARN_ON is used in drivers/vhost/vringh.c, to avoid build failure,
need include asm/bug.h
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link:
https://lore.kernel.org/r/20201209084205.24062-2-peng.fan@oss.nxp.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/linux/bug.h
patch
|
blob
|
history
diff --git
a/tools/virtio/linux/bug.h
b/tools/virtio/linux/bug.h
index
b14c2c3
..
813baf1
100644
(file)
--- a/
tools/virtio/linux/bug.h
+++ b/
tools/virtio/linux/bug.h
@@
-2,6
+2,8
@@
#ifndef BUG_H
#define BUG_H
+#include <asm/bug.h>
+
#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
#define BUILD_BUG_ON(x)