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>
This commit is contained in:
parent
3abec857a0
commit
f696012330
|
@ -740,6 +740,13 @@ _GLOBAL(giveup_altivec)
|
||||||
_GLOBAL(__setup_cpu_power3)
|
_GLOBAL(__setup_cpu_power3)
|
||||||
blr
|
blr
|
||||||
|
|
||||||
|
_GLOBAL(execve)
|
||||||
|
li r0,__NR_execve
|
||||||
|
sc
|
||||||
|
bnslr
|
||||||
|
neg r3,r3
|
||||||
|
blr
|
||||||
|
|
||||||
/* kexec_wait(phys_cpu)
|
/* kexec_wait(phys_cpu)
|
||||||
*
|
*
|
||||||
* wait for the flag to change, indicating this kernel is going away but
|
* wait for the flag to change, indicating this kernel is going away but
|
||||||
|
|
Loading…
Reference in New Issue