aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-04-11 09:49:44 +0000
committerRichard Weinberger <[email protected]>2019-05-07 21:18:28 +0000
commit1987b1b8f9f17a06255877e7917d0bb5b5377774 (patch)
tree684d34f1abddc8a34b5dfd942af3606376048b44 /lib/memory-notifier-error-inject.c
parentum: define set_pte_at() as a static inline function, not a macro (diff)
downloadkernel-1987b1b8f9f17a06255877e7917d0bb5b5377774.tar.gz
kernel-1987b1b8f9f17a06255877e7917d0bb5b5377774.zip
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 <[email protected]> Reviewed-by: Anton Ivanov <[email protected]> Acked-by: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions