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:
c162755
)
avr32, exec: remove redundant set_fs(USER_DS)
author
Mathias Krause
<
[email protected]
>
Fri, 10 Jun 2011 13:09:05 +0000
(15:09 +0200)
committer
Hans-Christian Egtvedt
<
[email protected]
>
Tue, 14 Jun 2011 11:38:24 +0000
(13:38 +0200)
The address limit is already set in flush_old_exec() so this
set_fs(USER_DS) is redundant.
Signed-off-by: Mathias Krause <
[email protected]
>
Signed-off-by: Hans-Christian Egtvedt <
[email protected]
>
arch/avr32/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/avr32/include/asm/processor.h
b/arch/avr32/include/asm/processor.h
index 49a88f5a9d2feda1c7b033cfd19c71453c6dd6bf..108502bc67706786d3125dff42be43f6a1d9b7d2 100644
(file)
--- a/
arch/avr32/include/asm/processor.h
+++ b/
arch/avr32/include/asm/processor.h
@@
-131,7
+131,6
@@
struct thread_struct {
*/
#define start_thread(regs, new_pc, new_sp) \
do { \
- set_fs(USER_DS); \
memset(regs, 0, sizeof(*regs)); \
regs->sr = MODE_USER; \
regs->pc = new_pc & ~1; \