summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/linux/bug.h')
-rw-r--r--tools/virtio/linux/bug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/virtio/linux/bug.h b/tools/virtio/linux/bug.h
index b14c2c3b6b85..51a919083d9b 100644
--- a/tools/virtio/linux/bug.h
+++ b/tools/virtio/linux/bug.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef BUG_H
-#define BUG_H
+#ifndef _LINUX_BUG_H
+#define _LINUX_BUG_H
-#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
+#include <asm/bug.h>
-#define BUILD_BUG_ON(x)
+#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
#define BUG() abort()
-#endif /* BUG_H */
+#endif /* _LINUX_BUG_H */