aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorRodolfo Giometti <[email protected]>2009-11-11 22:26:54 +0000
committerLinus Torvalds <[email protected]>2009-11-12 15:26:01 +0000
commit276b282e904f690dc930f9bc946110651f297669 (patch)
tree7e50db4cee555f6044bd389452269d3c0fe45ed6 /fs/proc/array.c
parentpps: locking scheme fix up for PPS_GETPARAMS (diff)
downloadkernel-276b282e904f690dc930f9bc946110651f297669.tar.gz
kernel-276b282e904f690dc930f9bc946110651f297669.zip
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 <[email protected]> Tested-by: William S. Brasher <[email protected]> Tested-by: Reg Clemens <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions