]> git.baikalelectronics.ru Git - kernel.git/commit
xen:events: move find_unbound_irq inside CONFIG_PCI_MSI
authorIan Campbell <ian.campbell@citrix.com>
Tue, 11 Jan 2011 17:20:14 +0000 (17:20 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 3 Mar 2011 16:56:58 +0000 (11:56 -0500)
commit1a3afba42a8616b51d5ac3c855de8128bfb05545
tree95038da95dc29513a7727e33d0049a99f98febe7
parent8f2f83e5ec047b76708ee02355c8d6854a59a3a5
xen:events: move find_unbound_irq inside CONFIG_PCI_MSI

The only caller is xen_allocate_pirq_msi which is also under this
ifdef so this fixes:
    drivers/xen/events.c:377: warning: 'find_unbound_pirq' defined but not used
when CONFIG_PCI_MSI=n

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
drivers/xen/events.c