mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
WARN_ON is used in drivers/vhost/vringh.c, to avoid build failure, need include asm/bug.h Signed-off-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
14 lines
213 B
C
14 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 */
|