Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: add profiling IRQ type to xtensa_irq_map

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+6
+6
arch/xtensa/kernel/irq.c
··· 106 106 irq_set_chip_and_handler_name(irq, irq_chip, 107 107 handle_percpu_irq, "timer"); 108 108 irq_clear_status_flags(irq, IRQ_LEVEL); 109 + #ifdef XCHAL_INTTYPE_MASK_PROFILING 110 + } else if (mask & XCHAL_INTTYPE_MASK_PROFILING) { 111 + irq_set_chip_and_handler_name(irq, irq_chip, 112 + handle_percpu_irq, "profiling"); 113 + irq_set_status_flags(irq, IRQ_LEVEL); 114 + #endif 109 115 } else {/* XCHAL_INTTYPE_MASK_WRITE_ERROR */ 110 116 /* XCHAL_INTTYPE_MASK_NMI */ 111 117 irq_set_chip_and_handler_name(irq, irq_chip,