12 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _LINUX_BUG_H3#define _LINUX_BUG_H4 5#include <asm/bug.h>6 7#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))8 9#define BUG() abort()10 11#endif /* _LINUX_BUG_H */12 1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _LINUX_BUG_H3#define _LINUX_BUG_H4 5#include <asm/bug.h>6 7#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))8 9#define BUG() abort()10 11#endif /* _LINUX_BUG_H */12