linux-mips
[Top] [All Lists]

Re: [PATCH][MIPS] fix section mismatch prom_free_prom_memory()

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH][MIPS] fix section mismatch prom_free_prom_memory()
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Mon, 23 Jul 2007 14:01:58 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <20070722.234420.25908731.anemo@mba.ocn.ne.jp>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070722130046.085e0f8d.yoichi_yuasa@tripeaks.co.jp> <20070722.234420.25908731.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
On Sun, 22 Jul 2007 23:44:20 +0900 (JST)
Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:

> On Sun, 22 Jul 2007 13:00:46 +0900, Yoichi Yuasa 
> <yoichi_yuasa@tripeaks.co.jp> wrote:
> > Fix section mismatch prom_free_prom_memory().
> > 
> > WARNING: vmlinux.o(.text+0xbf20): Section mismatch: reference to
> > .init.text:prom_free_prom_memory (between 'free_initmem' and 
> > 'copy_from_user_page')
> 
> prom_free_prom_memory() is called _before_ freeing init sections, so
> it is false positive.  __init_refok can be used for such cases.

It's right.

Thank you for correcting it,

Yoichi

<Prev in Thread] Current Thread [Next in Thread>