All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Luis <sergio@larces.uece.br>
To: Mike Travis <travis@sgi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	Ingo Molnar <mingo@elte.hu>, Oleg Nesterov <oleg@tv-sign.ru>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation
Date: Sun, 28 Dec 2008 04:12:26 -0300	[thread overview]
Message-ID: <495726DA.80301@larces.uece.br> (raw)
In-Reply-To: <495725B0.30501@larces.uece.br>

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();
 


       reply	other threads:[~2008-12-28  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <495725B0.30501@larces.uece.br>
2008-12-28  7:12 ` Sergio Luis [this message]
2008-12-29 12:11   ` [PATCH -tip] x86: mark get_cpu_leaves() with __cpuinit annotation Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=495726DA.80301@larces.uece.br \
    --to=sergio@larces.uece.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=oleg@tv-sign.ru \
    --cc=rusty@rustcorp.com.au \
    --cc=travis@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.