public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation
       [not found] <495725B0.30501@larces.uece.br>
@ 2008-12-28  7:12 ` Sergio Luis
  2008-12-29 12:11   ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Sergio Luis @ 2008-12-28  7:12 UTC (permalink / raw)
  To: Mike Travis; +Cc: Rusty Russell, Ingo Molnar, Oleg Nesterov, LKML

Resending, now including LKML as well. Sorry.
Sergio.

----

 x86: mark get_cpu_leaves() with __cpuinit annotation

 Impact: fix section mismatch 

 Commit b2bb85549134c005e997e5a7ed303bda6a1ae738 introduced 
 get_cpu_leaves(), which references __cpuinit cpuid4_cache_lookup().
 Mark get_cpu_leaves() with a __cpuinit annotation.

 Signed-off-by: Sergio Luis <sergio@larces.uece.br>
 Cc: Mike Travis <travis@sgi.com>
 Cc: Rusty Russell <rusty@rustcorp.com.au>
 Cc: Ingo Molnar <mingo@elte.hu>
 Cc: Oleg Nesterov <oleg@tv-sign.ru>
 ---
 arch/x86/kernel/cpu/intel_cacheinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c
index 1d76dd9..96f3945 100644
--- a/arch/x86/kernel/cpu/intel_cacheinfo.c
+++ b/arch/x86/kernel/cpu/intel_cacheinfo.c
@@ -536,7 +536,7 @@ static void __cpuinit free_cache_attributes(unsigned int cpu)
 	per_cpu(cpuid4_info, cpu) = NULL;
 }
 
-static void get_cpu_leaves(void *_retval)
+static void __cpuinit get_cpu_leaves(void *_retval)
 {
 	int j, *retval = _retval, cpu = smp_processor_id();
 


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

* Re: [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation
  2008-12-28  7:12 ` [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation Sergio Luis
@ 2008-12-29 12:11   ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-12-29 12:11 UTC (permalink / raw)
  To: Sergio Luis; +Cc: Mike Travis, Rusty Russell, Oleg Nesterov, LKML


* Sergio Luis <sergio@larces.uece.br> wrote:

> Resending, now including LKML as well. Sorry.
> Sergio.
> 
> ----
> 
>  x86: mark get_cpu_leaves() with __cpuinit annotation
> 
>  Impact: fix section mismatch 
> 
>  Commit b2bb85549134c005e997e5a7ed303bda6a1ae738 introduced 
>  get_cpu_leaves(), which references __cpuinit cpuid4_cache_lookup().
>  Mark get_cpu_leaves() with a __cpuinit annotation.
> 
>  Signed-off-by: Sergio Luis <sergio@larces.uece.br>
>  Cc: Mike Travis <travis@sgi.com>
>  Cc: Rusty Russell <rusty@rustcorp.com.au>
>  Cc: Ingo Molnar <mingo@elte.hu>
>  Cc: Oleg Nesterov <oleg@tv-sign.ru>
>  ---
>  arch/x86/kernel/cpu/intel_cacheinfo.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

applied to tip/cpus4096, thanks Sergio!

	ngo

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

end of thread, other threads:[~2008-12-29 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <495725B0.30501@larces.uece.br>
2008-12-28  7:12 ` [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation Sergio Luis
2008-12-29 12:11   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox