summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/bug.h
blob: 813baf13f62a2836fa68beda1db6dd7269172bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
#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)

#define BUG() abort()

#endif /* BUG_H */