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