|
@@ -281,15 +281,25 @@ struct lock_class_key { };
|
|
|
#if defined(CONFIG_TRACE_IRQFLAGS) && defined(CONFIG_GENERIC_HARDIRQS)
|
|
|
extern void early_init_irq_lock_class(void);
|
|
|
#else
|
|
|
-# define early_init_irq_lock_class() do { } while (0)
|
|
|
+static inline void early_init_irq_lock_class(void)
|
|
|
+{
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_TRACE_IRQFLAGS
|
|
|
extern void early_boot_irqs_off(void);
|
|
|
extern void early_boot_irqs_on(void);
|
|
|
+extern void print_irqtrace_events(struct task_struct *curr);
|
|
|
#else
|
|
|
-# define early_boot_irqs_off() do { } while (0)
|
|
|
-# define early_boot_irqs_on() do { } while (0)
|
|
|
+static inline void early_boot_irqs_off(void)
|
|
|
+{
|
|
|
+}
|
|
|
+static inline void early_boot_irqs_on(void)
|
|
|
+{
|
|
|
+}
|
|
|
+static inline void print_irqtrace_events(struct task_struct *curr)
|
|
|
+{
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
/*
|