mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.22-rc2: section mismatch
Date: Sat, 19 May 2007 15:27:27 +0200	[thread overview]
Message-ID: <20070519132727.GA23370@uranus.ravnborg.org> (raw)
In-Reply-To: <200705191443.27161.arvidjaar@mail.ru>

On Sat, May 19, 2007 at 02:43:21PM +0400, Andrey Borzenkov wrote:
>   MODPOST vmlinux
> WARNING: init/built-in.o - Section mismatch: reference to .init.text: 
> from .text between 'rest_init' (at offset 0x11b) and 'try_name'
Fixed in kbuild.fix.git.

> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:amd_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x967a) and 'mtrr_attrib_to_str'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:cyrix_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x967f) and 'mtrr_attrib_to_str'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:centaur_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x9684) and 'mtrr_attrib_to_str'

mtrr_bp_init() should be declared __init

> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa735) 
> and 'generic_get_mtrr'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa749) 
> and 'generic_get_mtrr'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa770) 
> and 'generic_get_mtrr'

get_mtrr_state should be declared __init

> WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from .text 
> between 'kmem_cache_create' (at offset 0x1bffd) and 'cache_reap'
> WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from .text 
> between 'kmem_cache_create' (at offset 0x1c232) and 'cache_reap'

Fixed in kbuild-git.git

	Sam


  parent reply	other threads:[~2007-05-19 13:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 10:43 Andrey Borzenkov
2007-05-19 11:00 ` Michal Piotrowski
2007-05-19 11:25   ` Andrey Borzenkov
2007-05-19 13:30     ` Indan Zupancic
2007-05-19 13:27 ` Sam Ravnborg [this message]
2007-05-19 13:32 ` [PATCH] x86: fix section mismatch warnings in mtrr Sam Ravnborg
2007-05-19 13:55   ` Andi Kleen
2007-05-19 14:09     ` Sam Ravnborg
2007-05-21 13:39     ` Jeremy Fitzhardinge
2007-05-21 13:48       ` Sam Ravnborg
2007-05-21 13:50         ` Sam Ravnborg
2007-05-21 13:52         ` Jeremy Fitzhardinge
2007-05-21 15:11           ` Sam Ravnborg
2007-05-26 12:07             ` Indan Zupancic
2007-05-26 16:02               ` Andi Kleen
2007-05-27  9:05                 ` Sam Ravnborg
2007-05-27  9:56                   ` Andi Kleen
2007-05-27 17:57                     ` Andrew Morton
2007-05-28 20:04                     ` Sam Ravnborg
2007-05-27 11:39                   ` Andi Kleen

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=20070519132727.GA23370@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=arvidjaar@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome