aboutsummaryrefslogtreecommitdiffstats
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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/virtio/linux/bug.h b/tools/virtio/linux/bug.h
index b14c2c3b6b85..74aef964f509 100644
--- a/tools/virtio/linux/bug.h
+++ b/tools/virtio/linux/bug.h
@@ -1,11 +1,9 @@
/* 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))
-#define BUILD_BUG_ON(x)
-
#define BUG() abort()
-#endif /* BUG_H */
+#endif /* _LINUX_BUG_H */