Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264186
b: refs/heads/master
c: ddd53bf
h: refs/heads/master
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Sep 21, 2011
1 parent d3ac26f commit 182c77e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08cefa9fa7e5b3ddaefb8b7bfa408d148429c08d
refs/heads/master: ddd53bf11172822bc02b32b876a491010257d1b0
3 changes: 1 addition & 2 deletions trunk/arch/sparc/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ void flush_thread(void)
#endif
}

/* Now, this task is no longer a kernel thread. */
current->thread.current_ds = USER_DS;
/* This task is no longer a kernel thread. */
if (current->thread.flags & SPARC_FLAG_KTHREAD) {
current->thread.flags &= ~SPARC_FLAG_KTHREAD;

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/sparc/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,6 @@ void flush_thread(void)

/* Clear FPU register state. */
t->fpsaved[0] = 0;

if (get_thread_current_ds() != ASI_AIUS)
set_fs(USER_DS);
}

/* It's a bit more tricky when 64-bit tasks are involved... */
Expand Down

0 comments on commit 182c77e

Please sign in to comment.