diff options
author | Rodolfo Giometti <giometti@linux.it> | 2009-11-11 14:26:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-12 07:26:01 -0800 |
commit | 276b282e904f690dc930f9bc946110651f297669 (patch) | |
tree | 7e50db4cee555f6044bd389452269d3c0fe45ed6 /kernel/sched_fair.c | |
parent | cbf83cc5a29dba480cf1ba1c5e3417a0d4a31410 (diff) |
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 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions