projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f8849
)
[ARM] 2952/1: fix a register clobber list
author
Nicolas Pitre
<nico@cam.org>
Tue, 4 Oct 2005 22:17:53 +0000
(23:17 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 4 Oct 2005 22:17:53 +0000
(23:17 +0100)
Patch from Nicolas Pitre
If gcc decides to assign lr to %0 we're screwed.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/sys_arm.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/sys_arm.c
b/arch/arm/kernel/sys_arm.c
index 42629ff84f5a8864787c1d862f001e47a3000765..ea569ba482b165bd05292ea3504c3d90bbeab04c 100644
(file)
--- a/
arch/arm/kernel/sys_arm.c
+++ b/
arch/arm/kernel/sys_arm.c
@@
-305,7
+305,7
@@
long execve(const char *filename, char **argv, char **envp)
"Ir" (THREAD_START_SP - sizeof(regs)),
"r" (®s),
"Ir" (sizeof(regs))
- : "r0", "r1", "r2", "r3", "ip", "memory");
+ : "r0", "r1", "r2", "r3", "ip", "
lr", "
memory");
out:
return ret;