diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-11-27 19:13:02 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:34:39 -0500 |
commit | 94b146ceeee18b801ad65ea78ec02449398e8221 (patch) | |
tree | fd7f40ec355888a3373df06cb442cd2505abecb4 /arch/powerpc/kernel/misc_32.S | |
parent | aabc08dc662b7acb17ca5706533253ce10c050b1 (diff) |
[POWERPC] kernel_execve is identical in 32 and 64 bit
so consolidate it into misc.S.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/misc_32.S')
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index 8b642ab26d37..ea1137851a4a 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S | |||
@@ -793,13 +793,6 @@ _GLOBAL(kernel_thread) | |||
793 | addi r1,r1,16 | 793 | addi r1,r1,16 |
794 | blr | 794 | blr |
795 | 795 | ||
796 | _GLOBAL(kernel_execve) | ||
797 | li r0,__NR_execve | ||
798 | sc | ||
799 | bnslr | ||
800 | neg r3,r3 | ||
801 | blr | ||
802 | |||
803 | /* | 796 | /* |
804 | * This routine is just here to keep GCC happy - sigh... | 797 | * This routine is just here to keep GCC happy - sigh... |
805 | */ | 798 | */ |