]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/trace/trace_irqsoff.c
Merge branch 'parisc-4.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[karo-tx-linux.git] / kernel / trace / trace_irqsoff.c
index eaf5291bcf631e8b08db9b6e9c4e5ed82f642408..e4e56589ec1d392c1734ddff45e87b6fc2dde2fb 100644 (file)
@@ -282,16 +282,16 @@ static void irqsoff_print_header(struct seq_file *s)
 /*
  * Should this new latency be reported/recorded?
  */
-static int report_latency(struct trace_array *tr, cycle_t delta)
+static bool report_latency(struct trace_array *tr, cycle_t delta)
 {
        if (tracing_thresh) {
                if (delta < tracing_thresh)
-                       return 0;
+                       return false;
        } else {
                if (delta <= tr->max_latency)
-                       return 0;
+                       return false;
        }
-       return 1;
+       return true;
 }
 
 static void