diff options
Diffstat (limited to 'tools/virtio/linux/bug.h')
| -rw-r--r-- | tools/virtio/linux/bug.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/virtio/linux/bug.h b/tools/virtio/linux/bug.h index fb94f0787c47..51a919083d9b 100644 --- a/tools/virtio/linux/bug.h +++ b/tools/virtio/linux/bug.h @@ -1,10 +1,11 @@ -#ifndef BUG_H -#define BUG_H +/* SPDX-License-Identifier: GPL-2.0 */ +#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 */ |
