Revision 6db6a5f3ae2ca6b874b0fd97ae16fdc9b5cdd6cc authored by Rusty Russell on 09 March 2009, 16:06:28 UTC, committed by Rusty Russell on 08 March 2009, 23:36:29 UTC
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: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@redhat.com>
1 parent cbd88c8
History
File Mode Size
Kconfig -rw-r--r-- 2.9 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 627 bytes
as-iosched.c -rw-r--r-- 38.7 KB
blk-barrier.c -rw-r--r-- 9.8 KB
blk-core.c -rw-r--r-- 57.9 KB
blk-exec.c -rw-r--r-- 2.7 KB
blk-integrity.c -rw-r--r-- 9.9 KB
blk-ioc.c -rw-r--r-- 4.0 KB
blk-map.c -rw-r--r-- 8.0 KB
blk-merge.c -rw-r--r-- 10.0 KB
blk-settings.c -rw-r--r-- 14.7 KB
blk-softirq.c -rw-r--r-- 4.1 KB
blk-sysfs.c -rw-r--r-- 10.4 KB
blk-tag.c -rw-r--r-- 9.8 KB
blk-timeout.c -rw-r--r-- 5.5 KB
blk.h -rw-r--r-- 3.2 KB
blktrace.c -rw-r--r-- 20.6 KB
bsg.c -rw-r--r-- 23.2 KB
cfq-iosched.c -rw-r--r-- 58.3 KB
cmd-filter.c -rw-r--r-- 5.4 KB
compat_ioctl.c -rw-r--r-- 21.6 KB
deadline-iosched.c -rw-r--r-- 11.4 KB
elevator.c -rw-r--r-- 26.9 KB
genhd.c -rw-r--r-- 28.4 KB
ioctl.c -rw-r--r-- 8.6 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 17.1 KB

back to top