2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2023-01-10 12:43:10 +09:00
|
|
|
#ifndef _LINUX_BUG_H
|
|
|
|
|
#define _LINUX_BUG_H
|
2013-03-18 13:22:19 +10:30
|
|
|
|
2020-12-09 16:42:03 +08:00
|
|
|
#include <asm/bug.h>
|
|
|
|
|
|
2013-03-18 13:22:19 +10:30
|
|
|
#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
|
|
|
|
|
|
|
|
|
|
#define BUG() abort()
|
|
|
|
|
|
2023-01-10 12:43:10 +09:00
|
|
|
#endif /* _LINUX_BUG_H */
|