Commit:     eec73e887a96b50035c92c57e01137dcbe6c5a39
Parent:     a5eb6a502b71ee6bf1a9768b12ff4545cb7a50fe
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 09:16:32 2007 +0100
Committer:  Sam Ravnborg <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 11:15:48 2007 +0200

    Whitelist references from __dbe_table to .init
    This is needed on MIPS where the same mechanism as get_user() is used to
    intercept bus error exceptions for some hardware probes.  Without this
    patch modpost will throw spurious warnings:
      LD      vmlinux
      MODPOST vmlinux
    WARNING: arch/mips/sgi-ip22/built-in.o(__dbe_table+0x0): Section mismatch: 
reference to .init.text:
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
 scripts/mod/modpost.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 3f3848f..04579a5 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1141,6 +1141,7 @@ static int init_section_ref_ok(const char *name)
        const char **s;
        /* Absolute section names */
        const char *namelist1[] = {
+               "__dbe_table",          /* MIPS generate these */
                "__ftr_fixup",          /* powerpc cpu feature fixup */
                "__fw_ftr_fixup",       /* powerpc firmware feature fixup */
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