diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-05 19:12:33 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-07 11:54:04 +0200 |
commit | cbb24dc761d95fe39a7a122bb1b298e9604cae15 (patch) | |
tree | 796028ad04f906c2c60f7fe998ed6bc7dc623d14 /arch/avr32 | |
parent | x86/irq: Plug irq vector hotplug race (diff) | |
download | linux-cbb24dc761d95fe39a7a122bb1b298e9604cae15.tar.xz linux-cbb24dc761d95fe39a7a122bb1b298e9604cae15.zip |
x86/irq: Use proper locking in check_irq_vectors_for_cpu_disable()
It's unsafe to examine fields in the irq descriptor w/o holding the
descriptor lock. Add proper locking.
While at it add a comment why the vector check can run lock less
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.236544164@linutronix.de
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions