projects/linux·blob master · refs

13 lines · 251 B

1// SPDX-License-Identifier: GPL-2.0
2
3#include <linux/spinlock.h>
4
5__rust_helper void rust_helper_local_interrupt_disable(void)
6{
7 local_interrupt_disable();
8}
9
10__rust_helper void rust_helper_local_interrupt_enable(void)
11{
12 local_interrupt_enable();
13}