diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-19 04:33:44 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 06:53:11 +0200 |
commit | 019f96a345b6e23d4e0bc2c136ec5f7500b95834 (patch) | |
tree | 25fe5b25d9312962b589f8e02778008414b3e75b /arch/frv/kernel/kernel_execve.S | |
parent | frv: switch to generic sys_execve() (diff) | |
download | linux-019f96a345b6e23d4e0bc2c136ec5f7500b95834.tar.xz linux-019f96a345b6e23d4e0bc2c136ec5f7500b95834.zip |
frv: switch to generic kernel_execve
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv/kernel/kernel_execve.S')
-rw-r--r-- | arch/frv/kernel/kernel_execve.S | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/frv/kernel/kernel_execve.S b/arch/frv/kernel/kernel_execve.S deleted file mode 100644 index 9b074a16a052..000000000000 --- a/arch/frv/kernel/kernel_execve.S +++ /dev/null @@ -1,33 +0,0 @@ -/* in-kernel program execution - * - * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ - -#include <linux/linkage.h> -#include <asm/unistd.h> - -############################################################################### -# -# Do a system call from kernel instead of calling sys_execve so we end up with -# proper pt_regs. -# -# int kernel_execve(const char *filename, char *const argv[], char *const envp[]) -# -# On entry: GR8/GR9/GR10: arguments to function -# On return: GR8: syscall return. -# -############################################################################### - .globl kernel_execve - .type kernel_execve,@function -kernel_execve: - setlos __NR_execve,gr7 - tira gr0,#0 - bralr - - .size kernel_execve,.-kernel_execve |