[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1340685471.3732.4.camel@pasglop>
Date: Tue, 26 Jun 2012 14:37:51 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Myron Stowe <myron.stowe@...hat.com>
Cc: bhelgaas@...gle.com, linux-pci@...r.kernel.org, rth@...ddle.net,
ink@...assic.park.msu.ru, mattst88@...il.com,
linux@....linux.org.uk, starvik@...s.com, jesper.nilsson@...s.com,
tony.luck@...el.com, fenghua.yu@...el.com, monstr@...str.eu,
ralf@...ux-mips.org, yasutake.koichi@...panasonic.com,
jejb@...isc-linux.org, deller@....de, paulus@...ba.org,
lethal@...ux-sh.org, davem@...emloft.net, cmetcalf@...era.com,
gxt@...c.pku.edu.cn, tglx@...utronix.de, mingo@...hat.com,
hpa@...or.com, x86@...nel.org, chris@...kel.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 08/16] powerpc/PCI: Factor 'pcibios_setup()' out of
powerpc
On Mon, 2012-06-25 at 21:31 -0600, Myron Stowe wrote:
> The PCI core provides a generic (__weak) 'pcibios_setup()' routine
> that can be used by all architectures as a default. Drop powerpc's
> architecture specific version in favor of that as it does not need to be
> over-ridden.
>
> Signed-off-by: Myron Stowe <myron.stowe@...hat.com>
Acked-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> ---
> arch/powerpc/kernel/pci-common.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
> index 8e78e93..bf2306b 100644
> --- a/arch/powerpc/kernel/pci-common.c
> +++ b/arch/powerpc/kernel/pci-common.c
> @@ -200,11 +200,6 @@ int pcibios_add_platform_entries(struct pci_dev *pdev)
> return device_create_file(&pdev->dev, &dev_attr_devspec);
> }
>
> -char __devinit *pcibios_setup(char *str)
> -{
> - return str;
> -}
> -
> /*
> * Reads the interrupt pin to determine if interrupt is use by card.
> * If the interrupt is used, then gets the interrupt line from the
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists