Commit:     0322a2b84096270c238da45f444bd3c9eb6f5e9c
Parent:     bfe8df3d314bddf30758bd738e0087e80964760c
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:23:47 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:42:49 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 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 f8d9d0b..9b7a2ba 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -67,8 +67,10 @@
 /* For assembly routines */
 #define __INIT         .section        ".init.text","ax"
+#define __INIT_REFOK   .section        ".text.init.refok","ax"
 #define __FINIT                .previous
 #define __INITDATA     .section        "","aw"
+#define __INITDATA_REFOK .section      ".data.init.refok","aw"
 #ifndef __ASSEMBLY__
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to