From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix section mismatch warning
Date: Sun, 12 Aug 2007 09:14:08 +0200 [thread overview]
Message-ID: <46BEB340.90900@googlemail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
Fix
WARNING: vmlinux.o(.text+0x1554c): Section mismatch: reference to
.init.text:reserve_bootmem (between 'omapfb_reserve_sdram' and
'omap_32k_timer_set_mode')
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[-- Attachment #2: 02_section_mismatch_warning_patch.txt --]
[-- Type: text/plain, Size: 551 bytes --]
Index: linux-osk/arch/arm/plat-omap/fb.c
===================================================================
--- linux-osk.orig/arch/arm/plat-omap/fb.c
+++ linux-osk/arch/arm/plat-omap/fb.c
@@ -171,7 +171,7 @@ static int check_fbmem_region(int region
* Called from map_io. We need to call to this early enough so that we
* can reserve the fixed SDRAM regions before VM could get hold of them.
*/
-void omapfb_reserve_sdram(void)
+void __init omapfb_reserve_sdram(void)
{
struct bootmem_data *bdata;
unsigned long sdram_start, sdram_size;
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2007-08-12 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 7:14 Dirk Behme [this message]
2007-08-13 8:56 ` [PATCH] ARM: OMAP: Fix section mismatch warning Tony Lindgren
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=46BEB340.90900@googlemail.com \
--to=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