Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 5 May 2013 17:58:06 +0000 (10:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 5 May 2013 17:58:06 +0000 (10:58 -0700)
Pull mudule updates from Rusty Russell:
 "We get rid of the general module prefix confusion with a binary config
  option, fix a remove/insert race which Never Happens, and (my
  favorite) handle the case when we have too many modules for a single
  commandline.  Seriously, the kernel is full, please go away!"

* tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
  modpost: fix unwanted VMLINUX_SYMBOL_STR expansion
  X.509: Support parse long form of length octets in Authority Key Identifier
  module: don't unlink the module until we've removed all exposure.
  kernel: kallsyms: memory override issue, need check destination buffer length
  MODSIGN: do not send garbage to stderr when enabling modules signature
  modpost: handle huge numbers of modules.
  modpost: add -T option to read module names from file/stdin.
  modpost: minor cleanup.
  genksyms: pass symbol-prefix instead of arch
  module: fix symbol versioning with symbol prefixes
  CONFIG_SYMBOL_PREFIX: cleanup.

1  2 
Makefile
arch/Kconfig
arch/metag/Kconfig
include/asm-generic/unistd.h
include/linux/kernel.h
include/linux/linkage.h
kernel/Makefile
scripts/Makefile.lib

diff --cc Makefile
Simple merge
diff --cc arch/Kconfig
Simple merge
index b06b41861aaca2fa517f657d92d4ad6a8e572b89,2099617e3ec0de7161dd224002e623848c6c66f9..6f16c14693272e593aa0f98d33e6b62d60f8ce79
@@@ -25,9 -21,9 +21,10 @@@ config META
        select HAVE_MEMBLOCK
        select HAVE_MEMBLOCK_NODE_MAP
        select HAVE_MOD_ARCH_SPECIFIC
 +      select HAVE_OPROFILE
        select HAVE_PERF_EVENTS
        select HAVE_SYSCALL_TRACEPOINTS
+       select HAVE_UNDERSCORE_SYMBOL_PREFIX
        select IRQ_DOMAIN
        select MODULES_USE_ELF_RELA
        select OF
Simple merge
Simple merge
index de09dec25ec3b99372bdc4df356380d7ccc4a939,807f1e5332267e6bd776f9591f106b723e1c02ab..d3e8ad23a8e0238645fe553f8183a2ad74bf5fc3
@@@ -2,7 -2,6 +2,8 @@@
  #define _LINUX_LINKAGE_H
  
  #include <linux/compiler.h>
 +#include <linux/stringify.h>
++#include <linux/export.h>
  #include <asm/linkage.h>
  
  #ifdef __cplusplus
  #define asmlinkage CPP_ASMLINKAGE
  #endif
  
- #ifdef CONFIG_SYMBOL_PREFIX
- #define __SYMBOL_NAME(x) CONFIG_SYMBOL_PREFIX __stringify(x)
- #else
- #define __SYMBOL_NAME(x) __stringify(x)
- #endif
 +#ifndef cond_syscall
- #define cond_syscall(x) asm(".weak\t" __SYMBOL_NAME(x) \
-       "\n\t.set\t" __SYMBOL_NAME(x) "," __SYMBOL_NAME(sys_ni_syscall));
++#define cond_syscall(x)       asm(                            \
++      ".weak " VMLINUX_SYMBOL_STR(x) "\n\t"           \
++      ".set  " VMLINUX_SYMBOL_STR(x) ","              \
++               VMLINUX_SYMBOL_STR(sys_ni_syscall))
 +#endif
 +
 +#ifndef SYSCALL_ALIAS
- #define SYSCALL_ALIAS(alias, name)                            \
-       asm ("\t.globl " __SYMBOL_NAME(alias)                   \
-       "\n\t.set\t" __SYMBOL_NAME(alias) "," __SYMBOL_NAME(name))
++#define SYSCALL_ALIAS(alias, name) asm(                       \
++      ".globl " VMLINUX_SYMBOL_STR(alias) "\n\t"      \
++      ".set   " VMLINUX_SYMBOL_STR(alias) ","         \
++                VMLINUX_SYMBOL_STR(name))
 +#endif
 +
  #define __page_aligned_data   __section(.data..page_aligned) __aligned(PAGE_SIZE)
  #define __page_aligned_bss    __section(.bss..page_aligned) __aligned(PAGE_SIZE)
  
diff --cc kernel/Makefile
Simple merge
Simple merge