The patch titled fix kernel_execve implementation on some archs has been added to the -mm tree. Its filename is provide-kernel_execve-on-all-architectures-fix-2.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fix kernel_execve implementation on some archs From: Arnd Bergmann <arnd@xxxxxxxx> The kernel_execve implementation added to h8300, m68k, sh, sh64, sparc and v850 needs the definition of __NR_execve, but I forgot to #include asm/unistd.h which defines this. Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/h8300/kernel/sys_h8300.c | 1 + arch/m68k/kernel/sys_m68k.c | 1 + arch/sh/kernel/sys_sh.c | 1 + arch/sh64/kernel/sys_sh64.c | 1 + arch/sparc/kernel/sys_sparc.c | 1 + arch/sparc64/kernel/sys_sparc.c | 1 + arch/v850/kernel/syscalls.c | 1 + 7 files changed, 7 insertions(+) diff -puN arch/h8300/kernel/sys_h8300.c~provide-kernel_execve-on-all-architectures-fix-2 arch/h8300/kernel/sys_h8300.c --- a/arch/h8300/kernel/sys_h8300.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/h8300/kernel/sys_h8300.c @@ -25,6 +25,7 @@ #include <asm/cachectl.h> #include <asm/traps.h> #include <asm/ipc.h> +#include <asm/unistd.h> /* * sys_pipe() is the normal C calling standard for creating diff -puN arch/m68k/kernel/sys_m68k.c~provide-kernel_execve-on-all-architectures-fix-2 arch/m68k/kernel/sys_m68k.c --- a/arch/m68k/kernel/sys_m68k.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/m68k/kernel/sys_m68k.c @@ -27,6 +27,7 @@ #include <asm/traps.h> #include <asm/ipc.h> #include <asm/page.h> +#include <asm/unistd.h> /* * sys_pipe() is the normal C calling standard for creating diff -puN arch/sh64/kernel/sys_sh64.c~provide-kernel_execve-on-all-architectures-fix-2 arch/sh64/kernel/sys_sh64.c --- a/arch/sh64/kernel/sys_sh64.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/sh64/kernel/sys_sh64.c @@ -32,6 +32,7 @@ #include <asm/uaccess.h> #include <asm/ipc.h> #include <asm/ptrace.h> +#include <asm/unistd.h> #define REG_3 3 diff -puN arch/sh/kernel/sys_sh.c~provide-kernel_execve-on-all-architectures-fix-2 arch/sh/kernel/sys_sh.c --- a/arch/sh/kernel/sys_sh.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/sh/kernel/sys_sh.c @@ -24,6 +24,7 @@ #include <asm/uaccess.h> #include <asm/ipc.h> +#include <asm/unistd.h> /* * sys_pipe() is the normal C calling standard for creating diff -puN arch/sparc64/kernel/sys_sparc.c~provide-kernel_execve-on-all-architectures-fix-2 arch/sparc64/kernel/sys_sparc.c --- a/arch/sparc64/kernel/sys_sparc.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/sparc64/kernel/sys_sparc.c @@ -31,6 +31,7 @@ #include <asm/utrap.h> #include <asm/perfctr.h> #include <asm/a.out.h> +#include <asm/unistd.h> /* #define DEBUG_UNIMP_SYSCALL */ diff -puN arch/sparc/kernel/sys_sparc.c~provide-kernel_execve-on-all-architectures-fix-2 arch/sparc/kernel/sys_sparc.c --- a/arch/sparc/kernel/sys_sparc.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/sparc/kernel/sys_sparc.c @@ -24,6 +24,7 @@ #include <asm/uaccess.h> #include <asm/ipc.h> +#include <asm/unistd.h> /* #define DEBUG_UNIMP_SYSCALL */ diff -puN arch/v850/kernel/syscalls.c~provide-kernel_execve-on-all-architectures-fix-2 arch/v850/kernel/syscalls.c --- a/arch/v850/kernel/syscalls.c~provide-kernel_execve-on-all-architectures-fix-2 +++ a/arch/v850/kernel/syscalls.c @@ -33,6 +33,7 @@ #include <asm/uaccess.h> #include <asm/ipc.h> #include <asm/semaphore.h> +#include <asm/unistd.h> /* * sys_ipc() is the de-multiplexer for the SysV IPC calls.. _ Patches currently in -mm which might be from arnd@xxxxxxxx are introduce-kernel_execve.patch rename-the-provided-execve-functions-to-kernel_execve.patch provide-kernel_execve-on-all-architectures.patch provide-kernel_execve-on-all-architectures-fix.patch provide-kernel_execve-on-all-architectures-mips-fix.patch provide-kernel_execve-on-all-architectures-fix-2.patch remove-the-use-of-_syscallx-macros-in-uml.patch sh64-remove-the-use-of-kernel-syscalls.patch remove-remaining-errno-and-__kernel_syscalls__-references.patch dm-support-ioctls-on-mapped-devices.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