sparseirq: fix desc->lock init
authorIngo Molnar <mingo@elte.hu>
Fri, 26 Dec 2008 18:02:20 +0000 (19:02 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 08:29:22 +0000 (09:29 +0100)
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>

No differences found