All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup
@ 2009-11-30 20:19 Jiri Slaby
  2009-11-30 20:19 ` [PATCH 2/2] X86: pci, fix section mismatches Jiri Slaby
  2009-12-04 23:54 ` [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jesse Barnes
  0 siblings, 2 replies; 6+ messages in thread
From: Jiri Slaby @ 2009-11-30 20:19 UTC (permalink / raw)
  To: jbarnes; +Cc: jirislaby, linux-kernel, Mauro Carvalho Chehab

It's called only from an __init function and is the only user
of pcibios_scan_specific_bus which will be marked as __devinit in
the next patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/edac/i7core_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 4de5a18..c7fc0d5 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1141,7 +1141,7 @@ static void i7core_put_all_devices(void)
 		i7core_put_devices(i7core_dev);
 }
 
-static void i7core_xeon_pci_fixup(int dev_id)
+static void __init i7core_xeon_pci_fixup(int dev_id)
 {
 	struct pci_dev *pdev = NULL;
 	int i;
-- 
1.6.5.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] X86: pci, fix section mismatches
  2009-11-30 20:19 [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jiri Slaby
@ 2009-11-30 20:19 ` Jiri Slaby
  2009-12-04 23:54   ` Jesse Barnes
  2009-12-04 23:54 ` [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jesse Barnes
  1 sibling, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2009-11-30 20:19 UTC (permalink / raw)
  To: jbarnes
  Cc: jirislaby, linux-kernel, Aristeu Sergio, Mauro Carvalho Chehab,
	linux-pci, x86

pcibios_scan_specific_bus calls pci_scan_bus_on_node which is __devinit.
Mark it __devinit as well. All users are now __init or __devinit.

Remark update_res from __init to __devinit as it is called also from
__devinit functions.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Aristeu Sergio <arozansk@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: linux-pci@vger.kernel.org
Cc: x86@kernel.org
---
 arch/x86/pci/amd_bus.c |    2 +-
 arch/x86/pci/legacy.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/pci/amd_bus.c b/arch/x86/pci/amd_bus.c
index 995f360..b78ffff 100644
--- a/arch/x86/pci/amd_bus.c
+++ b/arch/x86/pci/amd_bus.c
@@ -119,7 +119,7 @@ static void __init update_range(struct res_range *range, size_t start,
 	}
 }
 
-void __init update_res(struct pci_root_info *info, size_t start,
+void __devinit update_res(struct pci_root_info *info, size_t start,
 			      size_t end, unsigned long flags, int merge)
 {
 	int i;
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;
-- 
1.6.5.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup
  2009-11-30 20:19 [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jiri Slaby
  2009-11-30 20:19 ` [PATCH 2/2] X86: pci, fix section mismatches Jiri Slaby
@ 2009-12-04 23:54 ` Jesse Barnes
  2009-12-05 13:55   ` Jiri Slaby
  2009-12-08  0:44   ` Doug Thompson
  1 sibling, 2 replies; 6+ messages in thread
From: Jesse Barnes @ 2009-12-04 23:54 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: jirislaby, linux-kernel, Mauro Carvalho Chehab

On Mon, 30 Nov 2009 21:19:41 +0100
Jiri Slaby <jslaby@suse.cz> wrote:

> It's called only from an __init function and is the only user
> of pcibios_scan_specific_bus which will be marked as __devinit in
> the next patch.
> 
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
> ---
>  drivers/edac/i7core_edac.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
> index 4de5a18..c7fc0d5 100644
> --- a/drivers/edac/i7core_edac.c
> +++ b/drivers/edac/i7core_edac.c
> @@ -1141,7 +1141,7 @@ static void i7core_put_all_devices(void)
>  		i7core_put_devices(i7core_dev);
>  }
>  
> -static void i7core_xeon_pci_fixup(int dev_id)
> +static void __init i7core_xeon_pci_fixup(int dev_id)
>  {
>  	struct pci_dev *pdev = NULL;
>  	int i;

I don't know who handles EDAC patches, but I'm pretty sure it's not
me. :)  It doesn't apply to my tree anyway, so it probably needs a
refresh.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] X86: pci, fix section mismatches
  2009-11-30 20:19 ` [PATCH 2/2] X86: pci, fix section mismatches Jiri Slaby
@ 2009-12-04 23:54   ` Jesse Barnes
  0 siblings, 0 replies; 6+ messages in thread
From: Jesse Barnes @ 2009-12-04 23:54 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: jirislaby, linux-kernel, Aristeu Sergio, Mauro Carvalho Chehab,
	linux-pci, x86

On Mon, 30 Nov 2009 21:19:42 +0100
Jiri Slaby <jslaby@suse.cz> wrote:

> pcibios_scan_specific_bus calls pci_scan_bus_on_node which is
> __devinit. Mark it __devinit as well. All users are now __init or
> __devinit.
> 
> Remark update_res from __init to __devinit as it is called also from
> __devinit functions.
> 
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Aristeu Sergio <arozansk@redhat.com>
> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
> Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
> Cc: linux-pci@vger.kernel.org
> Cc: x86@kernel.org
> ---
>  arch/x86/pci/amd_bus.c |    2 +-
>  arch/x86/pci/legacy.c  |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/pci/amd_bus.c b/arch/x86/pci/amd_bus.c
> index 995f360..b78ffff 100644
> --- a/arch/x86/pci/amd_bus.c
> +++ b/arch/x86/pci/amd_bus.c
> @@ -119,7 +119,7 @@ static void __init update_range(struct res_range
> *range, size_t start, }
>  }
>  
> -void __init update_res(struct pci_root_info *info, size_t start,
> +void __devinit update_res(struct pci_root_info *info, size_t start,
>  			      size_t end, unsigned long flags, int
> merge) {
>  	int i;
> 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;

amd_bus.c got refactored, can you respin?

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup
  2009-12-04 23:54 ` [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jesse Barnes
@ 2009-12-05 13:55   ` Jiri Slaby
  2009-12-08  0:44   ` Doug Thompson
  1 sibling, 0 replies; 6+ messages in thread
From: Jiri Slaby @ 2009-12-05 13:55 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-kernel, Mauro Carvalho Chehab

On 12/05/2009 12:54 AM, Jesse Barnes wrote:
> On Mon, 30 Nov 2009 21:19:41 +0100
> Jiri Slaby <jslaby@suse.cz> wrote:
> 
>> It's called only from an __init function and is the only user
>> of pcibios_scan_specific_bus which will be marked as __devinit in
>> the next patch.
>>
>> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
>> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
>> ---
>>  drivers/edac/i7core_edac.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
>> index 4de5a18..c7fc0d5 100644
>> --- a/drivers/edac/i7core_edac.c
>> +++ b/drivers/edac/i7core_edac.c
>> @@ -1141,7 +1141,7 @@ static void i7core_put_all_devices(void)
>>  		i7core_put_devices(i7core_dev);
>>  }
>>  
>> -static void i7core_xeon_pci_fixup(int dev_id)
>> +static void __init i7core_xeon_pci_fixup(int dev_id)
>>  {
>>  	struct pci_dev *pdev = NULL;
>>  	int i;
> 
> I don't know who handles EDAC patches, but I'm pretty sure it's not
> me. :) 

Yeah, sorry, it was just I wanted you to know about the function user.
The EDAC masters were in CC, I hope.

> It doesn't apply to my tree anyway, so it probably needs a
> refresh.

I'll resend both patches after rebasing them.

thanks,
-- 
js
suse labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup
  2009-12-04 23:54 ` [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jesse Barnes
  2009-12-05 13:55   ` Jiri Slaby
@ 2009-12-08  0:44   ` Doug Thompson
  1 sibling, 0 replies; 6+ messages in thread
From: Doug Thompson @ 2009-12-08  0:44 UTC (permalink / raw)
  To: Jiri Slaby, Jesse Barnes; +Cc: jirislaby, linux-kernel, Mauro Carvalho Chehab



--- On Fri, 12/4/09, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:

> From: Jesse Barnes <jbarnes@virtuousgeek.org>
> Subject: Re: [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup
> To: "Jiri Slaby" <jslaby@suse.cz>
> Cc: jirislaby@gmail.com, linux-kernel@vger.kernel.org, "Mauro Carvalho Chehab" <mchehab@redhat.com>
> Date: Friday, December 4, 2009, 4:54 PM
> On Mon, 30 Nov 2009 21:19:41 +0100
> Jiri Slaby <jslaby@suse.cz>
> wrote:
> 
> > It's called only from an __init function and is the
> only user
> > of pcibios_scan_specific_bus which will be marked as
> __devinit in
> > the next patch.
> > 
> > Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> > Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
> > ---
> >  drivers/edac/i7core_edac.c |    2 +-
> >  1 files changed, 1 insertions(+), 1
> deletions(-)
> > 
> > diff --git a/drivers/edac/i7core_edac.c
> b/drivers/edac/i7core_edac.c
> > index 4de5a18..c7fc0d5 100644
> > --- a/drivers/edac/i7core_edac.c
> > +++ b/drivers/edac/i7core_edac.c
> > @@ -1141,7 +1141,7 @@ static void
> i7core_put_all_devices(void)
> >         
> i7core_put_devices(i7core_dev);
> >  }
> >  
> > -static void i7core_xeon_pci_fixup(int dev_id)
> > +static void __init i7core_xeon_pci_fixup(int dev_id)
> >  {
> >      struct pci_dev *pdev = NULL;
> >      int i;
> 
> I don't know who handles EDAC patches, but I'm pretty sure
> it's not
> me. :)  

Maruo has the i7core tree that he is building on for i7 stuff
boris from AMD has the amd64 tree
I handle the others and send to Andrew Morton

doug thompson


> It doesn't apply to my tree anyway, so it
> probably needs a
> refresh.
> 
> Thanks,
> -- 
> Jesse Barnes, Intel Open Source Technology Center
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-08  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 20:19 [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jiri Slaby
2009-11-30 20:19 ` [PATCH 2/2] X86: pci, fix section mismatches Jiri Slaby
2009-12-04 23:54   ` Jesse Barnes
2009-12-04 23:54 ` [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Jesse Barnes
2009-12-05 13:55   ` Jiri Slaby
2009-12-08  0:44   ` Doug Thompson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.