]> git.baikalelectronics.ru Git - kernel.git/commit
frv, exec: remove redundant set_fs(USER_DS)
authorMathias Krause <minipli@googlemail.com>
Tue, 26 Jul 2011 23:08:15 +0000 (16:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:41 +0000 (16:49 -0700)
commit3c85f7123dde8352bc1059a4b7c90bd1c7a0fc71
treee1217453e0aba0aed1adfec0bfba9baf611dd334
parent7dc23a0f753e46195b26782bfb3558ef7b96396b
frv, 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.

Also removed the dead code in flush_thread().

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/include/asm/processor.h
arch/frv/kernel/process.c