Re: [PATCH 1/1] X86: pci, fix section mismatch

From: Jiri Slaby
Date: Mon Feb 08 2010 - 14:15:54 EST


On 02/08/2010 07:44 PM, Jesse Barnes wrote:
> On Fri, 29 Jan 2010 10:22:36 +0100
> Jiri Slaby <jslaby@xxxxxxx> wrote:
>
>> pcibios_scan_specific_bus calls pci_scan_bus_on_node which is
>> __devinit. Mark pcibios_scan_specific_bus __devinit as well since
>> all users are now __init or __devinit.
>>
>> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
>> Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
>> Cc: linux-pci@xxxxxxxxxxxxxxx
>> Cc: x86@xxxxxxxxxx
>> ---
>> arch/x86/pci/legacy.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
>> index a8194c8..8cf7835 100644
>> --- a/arch/x86/pci/legacy.c
>> +++ b/arch/x86/pci/legacy.c
>> @@ -39,7 +39,7 @@ static int __init pci_legacy_init(void)
>> return 0;
>> }
>>
>> -void pcibios_scan_specific_bus(int busn)
>> +void __devinit pcibios_scan_specific_bus(int busn)
>> {
>> int devfn;
>> long node;
>
> Does this apply to some x86 tree that I can't see? Neither my tree nor
> the -tip tree has this function and I don't see it in the history.

Ah, this seems to come from
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/i7core.git#linux_next

as SHA:
a120a84ebbc4cbc9c1addddd2b491e3683b842a6

I'll resend to Mauro.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/