commit | 793f7b12a0c95e7bfec1badf9628043fb78fd440 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Fri Dec 26 19:02:20 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Dec 27 09:29:22 2008 +0100 |
tree | 1ace93d9f2bbed43b4594e6bacf75c51ffebf417 | |
parent | 8b07cd44511f3aa78dd912cca6493275a6787dc5 [diff] |
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>