Sukadev Bhattiprolu 718a916338 devpts: factor out PTY index allocation
Factor out the code used to allocate/free a pts index into new interfaces,
devpts_new_index() and devpts_kill_index().  This localizes the external data
structures used in managing the pts indices.

[akpm@linux-foundation.org: undo accidental mutex2sem conversion]
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:48 -07:00
..
2008-04-30 08:29:45 -07:00
2007-10-17 08:42:52 -07:00
2007-05-08 11:15:09 -07:00
2008-02-03 17:11:42 +02:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-04-04 18:36:49 +02:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:47 -07:00
2008-02-07 08:42:25 -08:00
2008-02-07 08:42:25 -08:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:43 -07:00
2008-04-30 08:29:45 -07:00
2008-02-07 08:42:34 -08:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2007-07-21 17:49:16 -07:00
2008-04-30 08:29:46 -07:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:06:27 -07:00
2007-07-16 09:05:46 -07:00
2008-04-29 08:06:27 -07:00
2008-04-30 08:29:40 -07:00
2008-04-30 08:29:46 -07:00