diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 10:37:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 09:51:40 -0700 |
commit | 6f967f7891076abc09e12ce952f85825e7ee8caf (patch) | |
tree | 1ebd77aae1dc887676915b3c469d84681db2d9ac /lib/spinlock_debug.c | |
parent | 9c9f4ded90a59eee84e15f5fd38c03d60184e112 (diff) |
tty: use krefs to protect driver module counts
The tty layer keeps driver module counts that are used so the driver knows
when it can be unloaded. For obvious reasons we want to tie that to the
refcounting properly.
At this point the driver side itself isn't refcounted nicely but we can do
that later and kref the drivers.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions