commit | 216fcd29af47ab53ffd87e82139fcc4095e34d91 | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Mon Jul 30 11:56:30 2007 +0900 |
committer | Tony Luck <tony.luck@intel.com> | Mon Jul 30 16:30:42 2007 -0700 |
tree | 6dc391ecc05255853d1974feee5d3a36b4ddaa5a | |
parent | c4c376f7e16deeba8f0542eabcaca19b712e7be1 [diff] |
[IA64] Fix possible race in destroy_and_reserve_irq() Currently, destroy_and_reserve_irq() sets irq_status[irq] UNUSED using clear_irq_vector() and sets irq_status[irq] RSVD using reserve_irq(). But there is a race window because vector_lock is once released between them. This patch fixes this race window. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>