xref: /linux-6.15/tools/virtio/linux/bug.h (revision 3f7b75ab)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2*3f7b75abSShunsuke Mie #ifndef _LINUX_BUG_H
3*3f7b75abSShunsuke Mie #define _LINUX_BUG_H
461d0b5a4SRusty Russell 
5697d1549SPeng Fan #include <asm/bug.h>
6697d1549SPeng Fan 
761d0b5a4SRusty Russell #define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
861d0b5a4SRusty Russell 
961d0b5a4SRusty Russell #define BUG() abort()
1061d0b5a4SRusty Russell 
11*3f7b75abSShunsuke Mie #endif /* _LINUX_BUG_H */
12