mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
xtensa: add profiling IRQ type to xtensa_irq_map
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
db8165f5d9
commit
ae0b7139ab
@ -106,6 +106,12 @@ int xtensa_irq_map(struct irq_domain *d, unsigned int irq,
|
||||
irq_set_chip_and_handler_name(irq, irq_chip,
|
||||
handle_percpu_irq, "timer");
|
||||
irq_clear_status_flags(irq, IRQ_LEVEL);
|
||||
#ifdef XCHAL_INTTYPE_MASK_PROFILING
|
||||
} else if (mask & XCHAL_INTTYPE_MASK_PROFILING) {
|
||||
irq_set_chip_and_handler_name(irq, irq_chip,
|
||||
handle_percpu_irq, "profiling");
|
||||
irq_set_status_flags(irq, IRQ_LEVEL);
|
||||
#endif
|
||||
} else {/* XCHAL_INTTYPE_MASK_WRITE_ERROR */
|
||||
/* XCHAL_INTTYPE_MASK_NMI */
|
||||
irq_set_chip_and_handler_name(irq, irq_chip,
|
||||
|
Loading…
Reference in New Issue
Block a user