lkml.org 
[lkml]   [2008]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] x86: Fixing __cpuinit/__init tangle.

* Rakib Mullick <rakib.mullick@gmail.com> wrote:

> Impact: Fixing __cpuinit/__init tangle.
>
> This patch removes the following section mismatch warning. A patch set
> was send previously (http://lkml.org/lkml/2008/11/10/407). But
> introduce some other problem, reported by Rufus
> (http://lkml.org/lkml/2008/11/11/46). Then Ingo Molnar suggest that,
> it's best to remove __init from xsave_cntxt_init(void). Which is the
> second patch in this series. Now, this one removes the following
> warning.
>
> WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x2237): Section
> mismatch in reference from the function cpu_init() to the function
> .init.text:init_thread_xstate()
> The function __cpuinit cpu_init() references
> a function __init init_thread_xstate().
> If init_thread_xstate is only used by cpu_init then
> annotate init_thread_xstate with a matching annotation.
>
> Thanks.

applied to tip/x86/urgent, thanks Rakib!

Ingo


\
 
 \ /
  Last update: 2008-11-20 16:47    [W:0.039 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site