]> err.no Git - linux-2.6/commit
Whitelist references from __dbe_table to .init
authorRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 08:16:32 +0000 (09:16 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 17 Jul 2007 09:15:48 +0000 (11:15 +0200)
commiteec73e887a96b50035c92c57e01137dcbe6c5a39
tree3aab0619b6b1e9af21746f1658a82e0141c90dd9
parenta5eb6a502b71ee6bf1a9768b12ff4545cb7a50fe
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
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  MODPOST vmlinux
WARNING: arch/mips/sgi-ip22/built-in.o(__dbe_table+0x0): Section mismatch: reference to .init.text:

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c