projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3abec85
)
ppc64: compile fix - define execve in misc.S
author
Paul Mackerras
<paulus@samba.org>
Tue, 11 Oct 2005 12:10:49 +0000
(22:10 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 11 Oct 2005 12:10:49 +0000
(22:10 +1000)
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>
arch/ppc64/kernel/misc.S
patch
|
blob
|
history
diff --git
a/arch/ppc64/kernel/misc.S
b/arch/ppc64/kernel/misc.S
index d069bbd7f81f97f401ae6a39beae5c1912ca16fa..f9f2131d2fb5d9ebf30565e5d394ec3cf15c3853 100644
(file)
--- a/
arch/ppc64/kernel/misc.S
+++ b/
arch/ppc64/kernel/misc.S
@@
-740,6
+740,13
@@
_GLOBAL(giveup_altivec)
_GLOBAL(__setup_cpu_power3)
blr
+_GLOBAL(execve)
+ li r0,__NR_execve
+ sc
+ bnslr
+ neg r3,r3
+ blr
+
/* kexec_wait(phys_cpu)
*
* wait for the flag to change, indicating this kernel is going away but