Skip to content
Commit 793f7b12 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent 8b07cd44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment