From: Tony Lindgren <tony@atomide.com>
To: Dirk Behme <dirk.behme@googlemail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: Fix section mismatch warning in dsp_common.c
Date: Fri, 18 May 2007 08:47:47 -0700 [thread overview]
Message-ID: <20070518154747.GF3369@atomide.com> (raw)
In-Reply-To: <464D5251.7060503@googlemail.com>
* Dirk Behme <dirk.behme@googlemail.com> [070518 00:17]:
>
> Fix
>
> WARNING: arch/arm/plat-omap/built-in.o - Section mismatch: reference
> to .init.text: from .text between 'dsp_cpustat_update' (at offset
> 0x7c40) and 'do_release_mem'
>
> If init_dsp isn't set, dsp_cpustat_update() calls omap_dsp_init(). So
> don't declare omap_dsp_init() as __init.
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
>
> Index: linux-osk/arch/arm/plat-omap/dsp/dsp_common.c
> ===================================================================
> --- linux-osk.orig/arch/arm/plat-omap/dsp/dsp_common.c
> +++ linux-osk/arch/arm/plat-omap/dsp/dsp_common.c
> @@ -268,7 +268,7 @@ void dsp_reset_idle_boot_base(void) { }
>
> static int init_done;
>
> -static int __init omap_dsp_init(void)
> +static int omap_dsp_init(void)
> {
> mutex_init(&cpustat.lock);
>
>
>
Pushing today.
Tony
prev parent reply other threads:[~2007-05-18 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 7:14 [PATCH] ARM: OMAP: Fix section mismatch warning in dsp_common.c Dirk Behme
2007-05-18 15:47 ` Tony Lindgren [this message]
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=20070518154747.GF3369@atomide.com \
--to=tony@atomide.com \
--cc=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox