]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: whitelist references from __dbe_table to .init
authorRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 07:38:47 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:40 +0000 (15:39 -0700)
commit8e1718f68f3ed827a7410a3966020e7161b87890
tree0d985fc99986aaea1d22112cb11a63f42cab9b49
parent37bc269479a31153f7bd9af03717ccef4df97fdd
kbuild: 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>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/mod/modpost.c