public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix section mismatch warning
@ 2007-08-12  7:14 Dirk Behme
  2007-08-13  8:56 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-08-12  7:14 UTC (permalink / raw)
  To: linux-omap-open-source

[-- 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 --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: Fix section mismatch warning
  2007-08-12  7:14 [PATCH] ARM: OMAP: Fix section mismatch warning Dirk Behme
@ 2007-08-13  8:56 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-08-13  8:56 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

* Dirk Behme <dirk.behme@googlemail.com> [070812 00:14]:
> 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>

> 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;
> 

Pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-13  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12  7:14 [PATCH] ARM: OMAP: Fix section mismatch warning Dirk Behme
2007-08-13  8:56 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox