diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 04:23:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:42:49 -0400 |
commit | 0322a2b84096270c238da45f444bd3c9eb6f5e9c (patch) | |
tree | a529c4f512de3867f7c2373d1cc7f3171673ac66 /include | |
parent | bfe8df3d314bddf30758bd738e0087e80964760c (diff) |
Add assembler equivalents to __init{,date}_refok
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.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index f8d9d0b5cffc..9b7a2ba8237e 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -67,8 +67,10 @@ | |||
67 | 67 | ||
68 | /* For assembly routines */ | 68 | /* For assembly routines */ |
69 | #define __INIT .section ".init.text","ax" | 69 | #define __INIT .section ".init.text","ax" |
70 | #define __INIT_REFOK .section ".text.init.refok","ax" | ||
70 | #define __FINIT .previous | 71 | #define __FINIT .previous |
71 | #define __INITDATA .section ".init.data","aw" | 72 | #define __INITDATA .section ".init.data","aw" |
73 | #define __INITDATA_REFOK .section ".data.init.refok","aw" | ||
72 | 74 | ||
73 | #ifndef __ASSEMBLY__ | 75 | #ifndef __ASSEMBLY__ |
74 | /* | 76 | /* |