+ whitelist-references-from-__dbe_table-to-init.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     kbuild: whitelist references from __dbe_table to .init
has been added to the -mm tree.  Its filename is
     whitelist-references-from-__dbe_table-to-init.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: kbuild: whitelist references from __dbe_table to .init
From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 scripts/mod/modpost.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN scripts/mod/modpost.c~whitelist-references-from-__dbe_table-to-init scripts/mod/modpost.c
--- a/scripts/mod/modpost.c~whitelist-references-from-__dbe_table-to-init
+++ a/scripts/mod/modpost.c
@@ -1057,6 +1057,7 @@ static int initexit_section_ref_ok(const
 		".machvec",		/* ia64 + powerpc uses these */
 		".machine.desc",
 		".opd",			/* See comment [OPD] */
+		"__dbe_table",
 		".parainstructions",
 		".pdr",
 		".plt",			/* seen on ARCH=um build on x86_64. Harmless */
_

Patches currently in -mm which might be from ralf@xxxxxxxxxxxxxx are

lots-of-architectures-enable-arbitary-speed-tty-support.patch
git-mips.patch
tty-add-the-new-ioctls-and-definitionto-the-mips.patch
git-netdev-all.patch
serial_txx9-fix-modem-control-line-handling.patch
serial_txx9-cleanup-includes.patch
update-zilog-timeout.patch
zs-move-to-the-serial-subsystem.patch
zsc-drain-the-transmission-line.patch
drivers-pmc-msp71xx-gpio-char-driver.patch
sb1250-duartc-sb1250-duart-serial-support.patch
whitelist-references-from-__dbe_table-to-init.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux