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 _LINUX_TRACE_IRQFLAGS_H
13 #define _LINUX_TRACE_IRQFLAGS_H
14 
15 #define trace_hardirqs_on() do { } while (0)
16 #define trace_hardirqs_off() do { } while (0)
17 #define trace_softirqs_on(ip) do { } while (0)
18 #define trace_softirqs_off(ip) do { } while (0)
19 #define trace_hardirq_context(p) 0
20 #define trace_softirq_context(p) 0
21 #define trace_hardirqs_enabled(p) 0
22 #define trace_softirqs_enabled(p) 0
23 #define trace_hardirq_enter() do { } while (0)
24 #define trace_hardirq_exit() do { } while (0)
25 #define trace_softirq_enter() do { } while (0)
26 #define trace_softirq_exit() do { } while (0)
27 #define INIT_TRACE_IRQFLAGS
28 
29 #define raw_local_irq_disable() local_irq_disable()
30 #define raw_local_irq_enable() local_irq_enable()
31 #define raw_local_irq_save(flags) local_irq_save(flags)
32 #define raw_local_irq_restore(flags) local_irq_restore(flags)
33 
34 #endif
35