diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-03-31 15:19:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 08:59:08 -0700 |
commit | ae149b6bec64a09373ba20fce75f8aa6b14b78fd (patch) | |
tree | 5e2f1fdfc223b76ab798c87fd25bcff8d5f92eeb /.gitignore | |
parent | 15f7176eb1cccec0a332541285ee752b935c1c85 (diff) | |
download | op-kernel-dev-ae149b6bec64a09373ba20fce75f8aa6b14b78fd.zip op-kernel-dev-ae149b6bec64a09373ba20fce75f8aa6b14b78fd.tar.gz |
proc tty: add struct tty_operations::proc_fops
Used for gradual switch of TTY drivers from using ->read_proc which helps
with gradual switch from ->read_proc for the whole tree.
As side effect, fix possible race condition when ->data initialized after
PDE is hooked into proc tree.
->proc_fops takes precedence over ->read_proc.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions