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
nexedi
linux
Commits
ddf23e87
Commit
ddf23e87
authored
Oct 11, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mn10300: switch to saner kernel_execve() semantics
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
ddffeb8c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
arch/mn10300/Kconfig
arch/mn10300/Kconfig
+1
-0
arch/mn10300/include/asm/unistd.h
arch/mn10300/include/asm/unistd.h
+0
-1
arch/mn10300/kernel/entry.S
arch/mn10300/kernel/entry.S
+1
-6
No files found.
arch/mn10300/Kconfig
View file @
ddf23e87
...
...
@@ -9,6 +9,7 @@ config MN10300
select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER
select GENERIC_CLOCKEVENTS
select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_EXECVE
select MODULES_USE_ELF_RELA
config AM33_2
...
...
arch/mn10300/include/asm/unistd.h
View file @
ddf23e87
...
...
@@ -44,7 +44,6 @@
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_KERNEL_EXECVE
/*
* "Conditional" syscalls
...
...
arch/mn10300/kernel/entry.S
View file @
ddf23e87
...
...
@@ -60,13 +60,8 @@ ENTRY(ret_from_kernel_thread)
mov
(
REG_D0
,
fp
),
d0
mov
(
REG_A0
,
fp
),
a0
calls
(
a0
)
jmp
sys_exit
ENTRY
(
ret_from_kernel_execve
)
add
-
12
,
d0
/*
pt_regs
->
frame
*/
mov
d0
,
sp
GET_THREAD_INFO
a2
clr
d0
mov
d0
,(
REG_D0
,
fp
)
jmp
syscall_exit
###############################################################################
...
...
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