Thomas Gleixner 09cf92b784 x86/irq: Retrieve irq data after locking irq_desc
irq_data is protected by irq_desc->lock, so retrieving the irq chip
from irq_data outside the lock is racy vs. an concurrent update. Move
it into the lock held region.

While at it add a comment why the vector walk does not require
vector_lock.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: xiao jin <jin.xiao@intel.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com>
Link: http://lkml.kernel.org/r/20150705171102.331320612@linutronix.de
2015-07-07 11:54:04 +02:00
..
2014-06-04 16:53:57 -07:00
2015-05-05 20:48:02 +02:00
2014-12-13 12:42:51 -08:00
2014-10-17 13:40:51 -07:00
2015-05-10 12:34:27 +02:00
2015-05-10 12:34:27 +02:00
2015-04-08 09:01:54 +02:00
2015-04-24 15:36:55 +02:00
2015-05-05 20:48:02 +02:00
2015-05-15 16:04:49 +02:00
2014-10-17 13:40:52 -07:00