Files
linux-st/include/linux
Linus Torvalds 18eac1cc10 tty-ldisc: make refcount be atomic_t 'users' count
This is pure preparation of changing the ldisc reference counting to be
a true refcount that defines the lifetime of the ldisc.  But this is a
purely syntactic change for now to make the next steps easier.

This patch should make no semantic changes at all. But I wanted to make
the ldisc refcount be an atomic (I will be touching it without locks
soon enough), and I wanted to rename it so that there isn't quite as
much confusion between 'ldo->refcount' (ldisk operations refcount) and
'ld->refcount' (ldisc refcount itself) in the same file.

So it's now an atomic 'ld->users' count. It still starts at zero,
despite having a reference from 'tty->ldisc', but that will change once
we turn it into a _real_ refcount.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@mail.by>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-04 13:46:30 -07:00
..
2009-06-30 18:56:00 -07:00
2009-07-12 12:22:34 -07:00
2009-06-30 18:55:58 -07:00
2009-07-29 19:10:35 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 13:02:10 -07:00
2009-07-08 09:18:05 -07:00
2009-06-30 18:56:00 -07:00
2009-06-30 20:12:24 +02:00
2009-07-12 12:22:34 -07:00
2009-07-31 08:55:48 +02:00
2009-07-30 16:03:45 +09:30
2009-07-28 21:07:09 -04:00
2009-07-08 09:31:56 -07:00
2009-06-30 18:55:59 -07:00
2009-07-29 19:10:36 -07:00
2009-07-12 12:22:34 -07:00
2009-07-06 13:57:03 -07:00
2009-07-12 15:16:39 -07:00