diff options
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/handle.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 6d174390f3a0..24c83a3cee4d 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -18,13 +18,10 @@ | |||
18 | 18 | ||
19 | #include "internals.h" | 19 | #include "internals.h" |
20 | 20 | ||
21 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
22 | |||
23 | /* | 21 | /* |
24 | * lockdep: we want to handle all irq_desc locks as a single lock-class: | 22 | * lockdep: we want to handle all irq_desc locks as a single lock-class: |
25 | */ | 23 | */ |
26 | static struct lock_class_key irq_desc_lock_class; | 24 | static struct lock_class_key irq_desc_lock_class; |
27 | #endif | ||
28 | 25 | ||
29 | /** | 26 | /** |
30 | * handle_bad_irq - handle spurious and unhandled irqs | 27 | * handle_bad_irq - handle spurious and unhandled irqs |
@@ -75,9 +72,7 @@ static struct irq_desc irq_desc_init = { | |||
75 | static void init_one_irq_desc(struct irq_desc *desc) | 72 | static void init_one_irq_desc(struct irq_desc *desc) |
76 | { | 73 | { |
77 | memcpy(desc, &irq_desc_init, sizeof(struct irq_desc)); | 74 | memcpy(desc, &irq_desc_init, sizeof(struct irq_desc)); |
78 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
79 | lockdep_set_class(&desc->lock, &irq_desc_lock_class); | 75 | lockdep_set_class(&desc->lock, &irq_desc_lock_class); |
80 | #endif | ||
81 | } | 76 | } |
82 | 77 | ||
83 | extern int after_bootmem; | 78 | extern int after_bootmem; |