mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
cris, exec: remove redundant set_fs(USER_DS)
The address limit is already set in flush_old_exec() so those calls to set_fs(USER_DS) are redundant. Signed-off-by: Mathias Krause <[email protected]> Cc: Jesper Nilsson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ce1bb7afc5
commit
5ec80e50e1
2 changed files with 0 additions and 2 deletions
|
|
@ -53,7 +53,6 @@ struct thread_struct {
|
|||
*/
|
||||
|
||||
#define start_thread(regs, ip, usp) do { \
|
||||
set_fs(USER_DS); \
|
||||
regs->irp = ip; \
|
||||
regs->dccr |= 1 << U_DCCR_BITNR; \
|
||||
wrusp(usp); \
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ struct thread_struct {
|
|||
*/
|
||||
#define start_thread(regs, ip, usp) \
|
||||
do { \
|
||||
set_fs(USER_DS); \
|
||||
regs->erp = ip; \
|
||||
regs->ccs |= 1 << (U_CCS_BITNR + CCS_SHIFT); \
|
||||
wrusp(usp); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue