aboutsummaryrefslogtreecommitdiff
path: root/include/math-emu/single.h
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2010-05-24 12:15:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-05 10:11:20 -0700
commit6d89de7c7ac9cc715627d400957461b2a9a98db0 (patch)
tree771072e62b1f98c2dc2106929cde20fe3f3f6c13 /include/math-emu/single.h
parent7e13be2dc48c3e3ba6a2e62cd1b4b5d9543652c4 (diff)
posix_timer: Fix error path in timer_create
commit 45e0fffc8a7778282e6a1514a6ae3e7ae6545111 upstream. Move CLOCK_DISPATCH(which_clock, timer_create, (new_timer)) after all posible EFAULT erros. *_timer_create may allocate/get resources. (for example posix_cpu_timer_create does get_task_struct) [ tglx: fold the remove crappy comment patch into this ] Signed-off-by: Andrey Vagin <avagin@openvz.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Pavel Emelyanov <xemul@openvz.org> Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/math-emu/single.h')
0 files changed, 0 insertions, 0 deletions