aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/irq.h
blob: 23f47fd4d3252e41906f13bbc8854fe379fa4445 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ASM_IRQ_H
#define ASM_IRQ_H

/* please, use these only if you _really_ know what you're doing
 * ... and remember iopl(3) first!! (include sys/io.h)
 */
static inline void cli(void) {
	asm volatile("cli": : :"memory");
}

static inline void sti(void) {
	asm volatile("sti": : :"memory");
}

#endif