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_64.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_64.S')
-rw-r--r-- | arch/powerpc/kernel/misc_64.S | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S index bbb3ba54c51c..a3c491e88a72 100644 --- a/arch/powerpc/kernel/misc_64.S +++ b/arch/powerpc/kernel/misc_64.S | |||
@@ -518,13 +518,6 @@ _GLOBAL(giveup_altivec) | |||
518 | 518 | ||
519 | #endif /* CONFIG_ALTIVEC */ | 519 | #endif /* CONFIG_ALTIVEC */ |
520 | 520 | ||
521 | _GLOBAL(kernel_execve) | ||
522 | li r0,__NR_execve | ||
523 | sc | ||
524 | bnslr | ||
525 | neg r3,r3 | ||
526 | blr | ||
527 | |||
528 | /* kexec_wait(phys_cpu) | 521 | /* kexec_wait(phys_cpu) |
529 | * | 522 | * |
530 | * wait for the flag to change, indicating this kernel is going away but | 523 | * wait for the flag to change, indicating this kernel is going away but |