mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
xen/pci: Remove 'xen_allocate_pirq_gsi'.
In the past (2.6.38) the 'xen_allocate_pirq_gsi' would allocate
an entry in a Linux IRQ -> {XEN_IRQ, type, event, ..} array. All
of that has been removed in 2.6.39 and the Xen IRQ subsystem uses
an linked list that is populated when the call to
'xen_allocate_irq_gsi' (universally done from any of the xen_bind_*
calls) is done. The 'xen_allocate_pirq_gsi' is a NOP and there is
no need for it anymore so lets remove it.
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
parent
34b1d1269d
commit
78316ada22
3 changed files with 12 additions and 32 deletions
|
|
@ -615,11 +615,6 @@ static int find_irq_by_gsi(unsigned gsi)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int xen_allocate_pirq_gsi(unsigned gsi)
|
||||
{
|
||||
return gsi;
|
||||
}
|
||||
|
||||
/*
|
||||
* Do not make any assumptions regarding the relationship between the
|
||||
* IRQ number returned here and the Xen pirq argument.
|
||||
|
|
|
|||
Loading…
Reference in a new issue