]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Get rid of the last irq_desc abuse
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:20 +0000 (21:40 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 16:37:53 +0000 (17:37 +0100)
commit5f8d247f0bdb48d11fcdb51693db81d40a74e096
treea5e9c586e3b48b0489527483e28ac2e140d54255
parenta81004d0cd9c7417e197fb4fffb7e82443be216e
xen: Get rid of the last irq_desc abuse

Warn if any PIRQ cannot be bound to an event channel. Remove the check
for irq_desc->action. This hypercall never fails in practice so we can
emit a warning unconditionally.

Remove a check for a valid irq desc. The only caller of
xen_destroy_irq() will only do so if the irq was previously fully
setup, which means the descriptor has been allocated as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Xen <xen-devel@lists.xenproject.org>
Cc: David Vrabel <david.vrabel@citrix.com>
Link: http://lkml.kernel.org/r/20140223212738.579581220@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/xen/events/events_base.c