Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
arnd
/
asm-generic
/
edcc8a38b5ac1a3dbd05e113a38a25b937ebefe5
/
.
/
rust
/
helpers
/
bug.c
blob: a62c96f507d1c16cacc462199e390857b8afec28 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#include
<linux/bug.h>
__noreturn
void
rust_helper_BUG
(
void
)
{
BUG
();
}
bool
rust_helper_WARN_ON
(
bool
cond
)
{
return
WARN_ON
(
cond
);
}