c/r: prctl: Move PR_GET_TID_ADDRESS to a proper place
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 20 Jun 2012 19:53:04 +0000 (12:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 20 Jun 2012 21:39:36 +0000 (14:39 -0700)
commit5702c5eeab959e86ee2d9b4fe7f2d87e65b25d46
tree43e67dfe6d036691e9594453dfda1288e1b298c2
parent50d75f8daead8a1f850c40a3b6c6575ab19b48cf
c/r: prctl: Move PR_GET_TID_ADDRESS to a proper place

During merging of PR_GET_TID_ADDRESS patch the code has been misplaced (it
happened to appear under PR_MCE_KILL) in result noone can use this option.

Fix it by moving code snippet to a proper place.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Andrey Vagin <avagin@openvz.org>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c