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)
commit9adef58b1d4fbb58d7daed931b6790c5a3b7543a
tree23e5ea2b0a140d244f2ed203b4954309d052e43d
parentaa5bd7e929325dbb48be43c3dccf7d1da433e38e
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