]> git.baikalelectronics.ru Git - kernel.git/commit
futex: get_futex_key, get_key_refs and drop_key_refs
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 8 May 2007 07:26:42 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:03 +0000 (11:15 -0700)
commit48c7a95fa0b87a141c0627b9facfd915815bf99c
tree23e5ea2b0a140d244f2ed203b4954309d052e43d
parentddf8eb4c221ae2bf4d17d359c9105e8ddbff8f1f
futex: get_futex_key, get_key_refs and drop_key_refs

lguest uses the convenient futex infrastructure for inter-domain I/O, so
expose get_futex_key, get_key_refs (renamed get_futex_key_refs) and
drop_key_refs (renamed drop_futex_key_refs).  Also means we need to expose the
union that these use.

No code changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/futex.h
kernel/futex.c