diff options
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r-- | include/linux/lockdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 80ec7a4dbc98..316e0fb8d7b1 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h | |||
@@ -270,6 +270,12 @@ static inline int lockdep_internal(void) | |||
270 | struct lock_class_key { }; | 270 | struct lock_class_key { }; |
271 | #endif /* !LOCKDEP */ | 271 | #endif /* !LOCKDEP */ |
272 | 272 | ||
273 | #if defined(CONFIG_TRACE_IRQFLAGS) && defined(CONFIG_GENERIC_HARDIRQS) | ||
274 | extern void early_init_irq_lock_class(void); | ||
275 | #else | ||
276 | # define early_init_irq_lock_class() do { } while (0) | ||
277 | #endif | ||
278 | |||
273 | #ifdef CONFIG_TRACE_IRQFLAGS | 279 | #ifdef CONFIG_TRACE_IRQFLAGS |
274 | extern void early_boot_irqs_off(void); | 280 | extern void early_boot_irqs_off(void); |
275 | extern void early_boot_irqs_on(void); | 281 | extern void early_boot_irqs_on(void); |