diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-27 04:16:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:49 -0500 |
commit | 34f192c6527f20c47ccec239e7d51a27691b93fc (patch) | |
tree | 6c80416cf6a170a193f829e414051cc618b15ee3 /kernel/exit.c | |
parent | 2eec9ad91f71a3dbacece5c4fb5adc09fad53a96 (diff) |
[PATCH] lightweight robust futexes: compat
32-bit syscall compatibility support. (This patch also moves all futex
related compat functionality into kernel/futex_compat.c.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Acked-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index aecb48ca7370..a8c7efc7a681 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/cn_proc.h> | 32 | #include <linux/cn_proc.h> |
33 | #include <linux/mutex.h> | 33 | #include <linux/mutex.h> |
34 | #include <linux/futex.h> | 34 | #include <linux/futex.h> |
35 | #include <linux/compat.h> | ||
35 | 36 | ||
36 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
37 | #include <asm/unistd.h> | 38 | #include <asm/unistd.h> |
@@ -855,6 +856,10 @@ fastcall NORET_TYPE void do_exit(long code) | |||
855 | } | 856 | } |
856 | if (unlikely(tsk->robust_list)) | 857 | if (unlikely(tsk->robust_list)) |
857 | exit_robust_list(tsk); | 858 | exit_robust_list(tsk); |
859 | #ifdef CONFIG_COMPAT | ||
860 | if (unlikely(tsk->compat_robust_list)) | ||
861 | compat_exit_robust_list(tsk); | ||
862 | #endif | ||
858 | exit_mm(tsk); | 863 | exit_mm(tsk); |
859 | 864 | ||
860 | exit_sem(tsk); | 865 | exit_sem(tsk); |