Re: [PATCH 7/7] sparc64: fix section mismatch warning in mdesc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2007 23:34:55 +0200

> Fix following warning:
> WARNING: vmlinux.o(.text+0x35264): Section mismatch: reference to .init.text:__alloc_bootmem (between 'mdesc_bootmem_alloc' and 'mdesc_bootmem_free')
> 
> Rename mdesc_mem_ops to *_ops so modpost ignores __init references
> and declare mdesc_bootmem_alloc __init since it is only used
> during __init context.
> 
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

Also applied, thanks Sam.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux