Re: [PATCH v2 2/2] PCI: Provide a default pcibios_update_irq()

2012-09-19 Thread Stephen Rothwell
Hi, On Mon, 17 Sep 2012 13:22:54 +0200 Thierry Reding wrote: > > diff --git a/drivers/pci/setup-irq.c b/drivers/pci/setup-irq.c > index 270ae7b..3d61ce3 100644 > --- a/drivers/pci/setup-irq.c > +++ b/drivers/pci/setup-irq.c > @@ -17,6 +17,11 @@ > #include > #include > > +void __weak pcibio

[PATCH v2 2/2] PCI: Provide a default pcibios_update_irq()

2012-09-17 Thread Thierry Reding
Most architectures implement this in exactly the same way. Instead of having each architecture duplicate this function, provide a single implementation in the core and make it a weak symbol so that it can be overridden on architectures where it is required. Signed-off-by: Thierry Reding --- Note: