Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
gregkh
/
tty
/
tty-testing
/
.
/
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
);
}