| To: | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Subject: | [PATCH] Add assembler equivalents to __init{,date}_refok |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 10 Oct 2007 14:35:19 +0100 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.14 (2007-02-12) |
--- I need __INIT_REFOK to fix a MODPOST warning for a few MIPS configs which have to call init code from .text very early in the game due to bootloader issues. __INITDATA_REFOK is just for consistency. include/linux/init.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/init.h b/include/linux/init.h index 74b1f43..031edcc 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -66,8 +66,10 @@ /* For assembly routines */ #define __INIT .section ".init.text","ax" +#define __INIT_REFOK .section ".text.init.refok","ax" #define __FINIT .previous #define __INITDATA .section ".init.data","aw" +#define __INITDATA_REFOK .section ".data.init.refok","aw" #ifndef __ASSEMBLY__ /* |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Add missing generic GPIO option support for au1000, Florian Fainelli |
|---|---|
| Next by Date: | Re: [PATCH] Add missing generic GPIO option support for au1000, Ralf Baechle |
| Previous by Thread: | [PATCH] Add missing generic GPIO option support for au1000, Florian Fainelli |
| Next by Thread: | [PATCH] Remove select GENERIC_GPIO for PNX8550, Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |