linux/kernel/irq
Ingo Molnar 793f7b12a0 sparseirq: fix desc->lock init
Impact: cleanup

init_one_irq_desc() does not initialize the desc->lock properly -
you cannot init a lock by memcpying some other lock on it.

This happens to work right now (because irq_desc_init is never in use),
but it's a dangerous construct nevertheless, so fix it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-27 09:29:22 +01:00
..
autoprobe.c irq: simplify for_each_irq_desc() usage 2008-12-26 09:48:18 +01:00
chip.c Merge branches 'irq/sparseirq', 'irq/genirq' and 'irq/urgent'; commit 'v2.6.28' into irq/core 2008-12-25 16:27:54 +01:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c sparseirq: fix desc->lock init 2008-12-27 09:29:22 +01:00
internals.h x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
Makefile x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
manage.c genirq: record IRQ_LEVEL in irq_desc[] 2008-12-02 11:20:46 +01:00
migration.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
numa_migrate.c sparseirq: fix desc->lock init 2008-12-27 09:29:22 +01:00
proc.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c irq: simplify for_each_irq_desc() usage 2008-12-26 09:48:18 +01:00