• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _ASM_IRQFLAGS_H
13 #define _ASM_IRQFLAGS_H
14 #include <asm/processor-flags.h>
15 
16 #ifndef __ASSEMBLY__
17 #endif
18 #ifndef __ASSEMBLY__
19 #else
20 #define DISABLE_INTERRUPTS(clobbers) cli
21 #define ENABLE_INTERRUPTS(clobbers) sti
22 #define ENABLE_INTERRUPTS_SYSEXIT sti; sysexit
23 #define INTERRUPT_RETURN iret
24 #define GET_CR0_INTO_EAX movl %cr0, %eax
25 #endif
26 #ifndef __ASSEMBLY__
27 #define raw_local_save_flags(flags)   do { (flags) = __raw_local_save_flags(); } while (0)
28 #define raw_local_irq_save(flags)   do { (flags) = __raw_local_irq_save(); } while (0)
29 #endif
30 #define TRACE_IRQS_ON
31 #define TRACE_IRQS_OFF
32 #define LOCKDEP_SYS_EXIT
33 #endif
34