linux/arch/um
Bartosz Golaszewski 1987b1b8f9 um: irq: don't set the chip for all irqs
Setting a chip for an interrupt marks it as allocated. Since UM doesn't
support dynamic interrupt numbers (yet), it means we cannot simply
increase NR_IRQS and then use the free irqs between LAST_IRQ and NR_IRQS
with gpio-mockup or iio testing drivers as irq_alloc_descs() will fail
after not being able to neither find an unallocated range of interrupts
nor expand the range.

Only call irq_set_chip_and_handler() for irqs until LAST_IRQ.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-05-07 23:18:28 +02:00
..
configs um: defconfig: Cleanup from old Kconfig options 2017-09-13 22:32:51 +02:00
drivers um: Do not unlock mutex that is not hold. 2019-05-07 23:18:28 +02:00
include um: define set_pte_at() as a static inline function, not a macro 2019-05-07 23:18:28 +02:00
kernel um: irq: don't set the chip for all irqs 2019-05-07 23:18:28 +02:00
os-Linux um: remove uses of variable length arrays 2019-05-07 23:18:28 +02:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore
Kconfig arch: um: Kconfig: pedantic indention cleanups 2019-05-07 23:18:28 +02:00
Kconfig.debug um: Make GCOV depend on !KCOV 2018-12-27 22:48:19 +01:00
Makefile um: remove unused filechk_gen_header in Makefile 2018-12-22 00:35:20 +09:00
Makefile-os-Linux
Makefile-skas