diff options
| author | Sukadev Bhattiprolu <[email protected]> | 2008-04-30 00:54:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-30 08:29:48 -0700 |
| commit | 718a916338e821a10961e6a7a17430c18e5e58d9 (patch) | |
| tree | b261fd36e7a4f642223668596c85da62b60729a4 /tools/perf/scripts/python | |
| parent | 4f8f9d66cdac4845409f7520e4f287a1907a6bf9 (diff) | |
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.
[[email protected]: undo accidental mutex2sem conversion]
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Signed-off-by: Serge Hallyn <[email protected]>
Signed-off-by: Matt Helsley <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions