diff options
author | Rodolfo Giometti <giometti@linux.it> | 2009-11-12 01:26:54 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-12 18:26:01 +0300 |
commit | 276b282e904f690dc930f9bc946110651f297669 (patch) | |
tree | 7e50db4cee555f6044bd389452269d3c0fe45ed6 /drivers/md/dm-zero.c | |
parent | cbf83cc5a29dba480cf1ba1c5e3417a0d4a31410 (diff) | |
download | linux-276b282e904f690dc930f9bc946110651f297669.tar.xz |
pps: events reporting fix up
PPS events must be recorded according to PPS's mode settings.
If a process asks for (i.e.) capture-assert events only, when the PPS
client calls the pps_event() function to save the current PPS event, we
should verify the event type and then discard unwanted ones.
Also, without this patch userland processes waiting for a specific PPS
event (assert or clear but not both) may be awakened at wrong time.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Tested-by: William S. Brasher <billb958@door.net>
Tested-by: Reg Clemens <clemens@dwf.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-zero.c')
0 files changed, 0 insertions, 0 deletions