Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81001
b: refs/heads/master
c: 94b146c
h: refs/heads/master
i:
  80999: 19934bd
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent dba8c0a commit 1d734a4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aabc08dc662b7acb17ca5706533253ce10c050b1
refs/heads/master: 94b146ceeee18b801ad65ea78ec02449398e8221
8 changes: 8 additions & 0 deletions trunk/arch/powerpc/kernel/misc.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* 2 of the License, or (at your option) any later version.
*/
#include <asm/ppc_asm.h>
#include <asm/unistd.h>

.text

Expand Down Expand Up @@ -43,3 +44,10 @@ _GLOBAL(add_reloc_offset)
add r3,r3,r5
mtlr r0
blr

_GLOBAL(kernel_execve)
li r0,__NR_execve
sc
bnslr
neg r3,r3
blr
7 changes: 0 additions & 7 deletions trunk/arch/powerpc/kernel/misc_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -793,13 +793,6 @@ _GLOBAL(kernel_thread)
addi r1,r1,16
blr

_GLOBAL(kernel_execve)
li r0,__NR_execve
sc
bnslr
neg r3,r3
blr

/*
* This routine is just here to keep GCC happy - sigh...
*/
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/powerpc/kernel/misc_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -518,13 +518,6 @@ _GLOBAL(giveup_altivec)

#endif /* CONFIG_ALTIVEC */

_GLOBAL(kernel_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
Expand Down

0 comments on commit 1d734a4

Please sign in to comment.