• Rusty Russell's avatar
    lguest: fix for CONFIG_SPARSE_IRQ=y · 6db6a5f3
    Rusty Russell authored
    Impact: remove lots of lguest boot WARN_ON() when CONFIG_SPARSE_IRQ=y
    
    We now need to call irq_to_desc_alloc_cpu() before
    set_irq_chip_and_handler_name(), but we can't do that from init_IRQ (no
    kmalloc available).
    
    So do it as we use interrupts instead.  Also means we only alloc for
    irqs we use, which was the intent of CONFIG_SPARSE_IRQ anyway.
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Cc: Ingo Molnar <mingo@redhat.com>
    6db6a5f3
Name
Last commit
Last update
..
x86 Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
README Loading commit data...
core.c Loading commit data...
hypercalls.c Loading commit data...
interrupts_and_traps.c Loading commit data...
lg.h Loading commit data...
lguest_device.c Loading commit data...
lguest_user.c Loading commit data...
page_tables.c Loading commit data...
segments.c Loading commit data...