kernel-ark/drivers/pps
George Spelvin 593fb1ae45 pps: Move timestamp read into PPS code proper
The PPS (Pulse-Per-Second) line discipline has developed a number of
unhealthy attachments to core tty data and functions, ultimately leading
to its breakage.

The previous patches fixed the crashing.  This one reduces coupling further
by eliminating the timestamp parameter from the dcd_change ldisc method.
This reduces header file linkage and makes the extension more generic,
and the timestamp read is delayed only slightly, from just before the
ldisc->ops->dcd_change method call to just after.

Fix attendant build breakage in
    drivers/tty/n_tty.c
    drivers/tty/tty_buffer.c
    drivers/staging/speakup/selection.c
    drivers/staging/dgrp/dgrp_*.c

Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@braille.uwo.ca>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: George Spelvin <linux@horizon.com>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-13 10:13:58 -08:00
..
clients pps: Move timestamp read into PPS code proper 2013-02-13 10:13:58 -08:00
generators pps: remove unreachable code 2011-03-22 17:44:17 -07:00
kapi.c pps: default echo function 2011-11-02 16:07:02 -07:00
kc.c pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
Kconfig pps, ptp: Remove dependencies on EXPERIMENTAL 2012-11-01 11:35:17 -04:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
pps.c pps: Fix a use-after free bug when unregistering a source. 2013-02-13 09:40:35 -08:00
sysfs.c