Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3e41f9ba
Commit
3e41f9ba
authored
Oct 26, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtensa: switch to generic clone()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
39d91a9e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
11 deletions
+3
-11
arch/xtensa/Kconfig
arch/xtensa/Kconfig
+1
-0
arch/xtensa/include/asm/syscall.h
arch/xtensa/include/asm/syscall.h
+0
-1
arch/xtensa/include/asm/unistd.h
arch/xtensa/include/asm/unistd.h
+1
-0
arch/xtensa/include/uapi/asm/unistd.h
arch/xtensa/include/uapi/asm/unistd.h
+1
-1
arch/xtensa/kernel/process.c
arch/xtensa/kernel/process.c
+0
-9
No files found.
arch/xtensa/Kconfig
View file @
3e41f9ba
...
...
@@ -16,6 +16,7 @@ config XTENSA
select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_EXECVE
select ARCH_WANT_OPTIONAL_GPIOLIB
select CLONE_BACKWARDS
help
Xtensa processors are 32-bit RISC machines designed by Tensilica
primarily for embedded systems. These processors are both
...
...
arch/xtensa/include/asm/syscall.h
View file @
3e41f9ba
...
...
@@ -10,7 +10,6 @@
struct
pt_regs
;
struct
sigaction
;
asmlinkage
long
xtensa_clone
(
unsigned
long
,
unsigned
long
,
struct
pt_regs
*
);
asmlinkage
long
xtensa_ptrace
(
long
,
long
,
long
,
long
);
asmlinkage
long
xtensa_sigreturn
(
struct
pt_regs
*
);
asmlinkage
long
xtensa_rt_sigreturn
(
struct
pt_regs
*
);
...
...
arch/xtensa/include/asm/unistd.h
View file @
3e41f9ba
...
...
@@ -2,6 +2,7 @@
#define _XTENSA_UNISTD_H
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_SYS_CLONE
#include <uapi/asm/unistd.h>
/*
...
...
arch/xtensa/include/uapi/asm/unistd.h
View file @
3e41f9ba
...
...
@@ -260,7 +260,7 @@ __SYSCALL(115, sys_sendmmsg, 4)
/* Process Operations */
#define __NR_clone 116
__SYSCALL
(
116
,
xtensa
_clone
,
5
)
__SYSCALL
(
116
,
sys
_clone
,
5
)
#define __NR_execve 117
__SYSCALL
(
117
,
sys_execve
,
3
)
#define __NR_exit 118
...
...
arch/xtensa/kernel/process.c
View file @
3e41f9ba
...
...
@@ -364,12 +364,3 @@ int dump_fpu(void)
{
return
0
;
}
asmlinkage
long
xtensa_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
void
__user
*
parent_tid
,
void
*
child_tls
,
void
__user
*
child_tid
,
long
a5
,
struct
pt_regs
*
regs
)
{
return
do_fork
(
clone_flags
,
newsp
,
regs
,
0
,
parent_tid
,
child_tid
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment