aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/process_32.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-06-16 09:46:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-16 09:46:24 -0700
commitf8f44f09eaa2bfb40651e7fc6054d65c8091499a (patch)
treed68df2dca22c6450b1cbb43cd314a47557920187 /arch/sh/kernel/process_32.c
parentf49cc57cc9d1686bdca068c40bc43f1690aa02d3 (diff)
parent261a9af671a79b750cb170bac620601d686535c1 (diff)
downloadkernel_samsung_smdk4412-f8f44f09eaa2bfb40651e7fc6054d65c8091499a.zip
kernel_samsung_smdk4412-f8f44f09eaa2bfb40651e7fc6054d65c8091499a.tar.gz
kernel_samsung_smdk4412-f8f44f09eaa2bfb40651e7fc6054d65c8091499a.tar.bz2
Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x
* 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x: sh: sh7724: Add USBHS DMAEngine support sh: ecovec: Add renesas_usbhs support sh, exec: remove redundant set_fs(USER_DS) drivers: sh: resume enabled clocks fix dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix sh: Fix up xchg/cmpxchg corruption with gUSA RB. sh: Remove compressed kernel libgcc dependency. sh: fix wrong icache/dcache address-array start addr in cache-debugfs.
Diffstat (limited to 'arch/sh/kernel/process_32.c')
-rw-r--r--arch/sh/kernel/process_32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c
index b473f0c..aaf6d59 100644
--- a/arch/sh/kernel/process_32.c
+++ b/arch/sh/kernel/process_32.c
@@ -102,8 +102,6 @@ EXPORT_SYMBOL(kernel_thread);
void start_thread(struct pt_regs *regs, unsigned long new_pc,
unsigned long new_sp)
{
- set_fs(USER_DS);
-
regs->pr = 0;
regs->sr = SR_FD;
regs->pc = new_pc;