diff options
Diffstat (limited to 'arch/blackfin/kernel/irqchip.c')
-rw-r--r-- | arch/blackfin/kernel/irqchip.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 1fc001c7abda..462ae41144c7 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/kallsyms.h> | 34 | #include <linux/kallsyms.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
36 | #include <linux/irq.h> | 36 | #include <linux/irq.h> |
37 | #include <asm/trace.h> | ||
37 | 38 | ||
38 | static unsigned long irq_err_count; | 39 | static unsigned long irq_err_count; |
39 | static spinlock_t irq_controller_lock; | 40 | static spinlock_t irq_controller_lock; |
@@ -144,4 +145,12 @@ void __init init_IRQ(void) | |||
144 | } | 145 | } |
145 | 146 | ||
146 | init_arch_irq(); | 147 | init_arch_irq(); |
148 | |||
149 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
150 | /* Now that evt_ivhw is set up, turn this on */ | ||
151 | trace_buff_offset = 0; | ||
152 | bfin_write_TBUFCTL(BFIN_TRACE_ON); | ||
153 | printk(KERN_INFO "Hardware Trace expanded to %ik\n", | ||
154 | 1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN); | ||
155 | #endif | ||
147 | } | 156 | } |