diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:10:49 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:10:49 -0400 |
commit | f696012330a67a60a9822ed48d1e9ecba73b4f18 (patch) | |
tree | 1d9b3a88950ff6cf00dfba98ebfa2c7d795cc132 /arch/ppc64/kernel/misc.S | |
parent | 3abec857a0f7491b397a97337cc057b84a1d637a (diff) |
ppc64: compile fix - define execve in misc.S
This used to be inline in include/asm-ppc64/unistd.h, but isn't
inline in the merged include/asm-powerpc/unistd.h, so we need a
definition here.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/misc.S')
-rw-r--r-- | arch/ppc64/kernel/misc.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index d069bbd7f81..f9f2131d2fb 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -740,6 +740,13 @@ _GLOBAL(giveup_altivec) | |||
740 | _GLOBAL(__setup_cpu_power3) | 740 | _GLOBAL(__setup_cpu_power3) |
741 | blr | 741 | blr |
742 | 742 | ||
743 | _GLOBAL(execve) | ||
744 | li r0,__NR_execve | ||
745 | sc | ||
746 | bnslr | ||
747 | neg r3,r3 | ||
748 | blr | ||
749 | |||
743 | /* kexec_wait(phys_cpu) | 750 | /* kexec_wait(phys_cpu) |
744 | * | 751 | * |
745 | * wait for the flag to change, indicating this kernel is going away but | 752 | * wait for the flag to change, indicating this kernel is going away but |