projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8165f
)
xtensa: add profiling IRQ type to xtensa_irq_map
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 22 Jun 2015 22:53:05 +0000
(
01:53
+0300)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 17 Aug 2015 04:32:53 +0000
(07:32 +0300)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/kernel/irq.c
b/arch/xtensa/kernel/irq.c
index 3eee94f621ebd723195d326965cb6afc6998c85f..32b60568ee451187ad4b9317bb7c918c3fd7586a 100644
(file)
--- a/
arch/xtensa/kernel/irq.c
+++ b/
arch/xtensa/kernel/irq.c
@@
-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,