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