mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
697d154914
WARN_ON is used in drivers/vhost/vringh.c, to avoid build failure, need include asm/bug.h Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20201209084205.24062-2-peng.fan@oss.nxp.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
13 lines
213 B
C
13 lines
213 B
C
/* 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 */
|