Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
perf
/
perf-tools
/
4a4083af03a7a75a86c392fd60cb37ce23ed87b6
/
.
/
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
);
}