summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/bfin_sport_uart.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-01-28 03:33:26 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2011-02-08 01:56:17 (GMT)
commit6d54057d76e25c91165cda0e6e007f1811faa2be (patch)
tree5f797433b9604e645e068a85c6f708db8b9dfbcd /drivers/tty/serial/bfin_sport_uart.c
parent075de90c46562de1435db16c2129ec4ff92e5bd2 (diff)
downloadlinux-fsl-qoriq-6d54057d76e25c91165cda0e6e007f1811faa2be.tar.xz
tracing/filter: Have no filter return a match
The n_preds field of a file can change at anytime, and even can become zero, just as the filter is about to be processed by an event. In the case that is zero on entering the filter, return 1, telling the caller the event matchs and should be trace. Also use a variable and assign it with ACCESS_ONCE() such that the count stays consistent within the function. Cc: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/tty/serial/bfin_sport_uart.c')
0 files changed, 0 insertions, 0 deletions