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:
6fa8090
)
m32r, exec: remove redundant set_fs(USER_DS)
author
Mathias Krause
<
[email protected]
>
Tue, 26 Jul 2011 00:12:40 +0000
(17:12 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 26 Jul 2011 03:57:12 +0000
(20:57 -0700)
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]
>
Cc: Hirokazu Takata <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/m32r/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/m32r/include/asm/processor.h
b/arch/m32r/include/asm/processor.h
index 8397c249989b36561eca1fc0c99ddd842dedc061..e1f46d7574602aa5ca4f3934097fed74c94cb005 100644
(file)
--- a/
arch/m32r/include/asm/processor.h
+++ b/
arch/m32r/include/asm/processor.h
@@
-106,7
+106,6
@@
struct thread_struct {
#define start_thread(regs, new_pc, new_spu) \
do { \
- set_fs(USER_DS); \
regs->psw = (regs->psw | USERPS_BPSW) & 0x0000FFFFUL; \
regs->bpc = new_pc; \
regs->spu = new_spu; \