xref: /linux/rust/helpers/interrupt.c (revision f4cdf7ca9a1fdcca413157df19753f388a5a224e)
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 }
14