svm: bitwise vs logical op typo
[cascardo/linux.git] / kernel / trace / trace_functions_graph.c
index a663cbb..3a0244f 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include <linux/uaccess.h>
 #include <linux/ftrace.h>
+#include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/fs.h>
 
@@ -1350,7 +1351,7 @@ void graph_trace_open(struct trace_iterator *iter)
  out_err_free:
        kfree(data);
  out_err:
-       pr_warning("function graph tracer: not enough memory\n");
+       pr_warn("function graph tracer: not enough memory\n");
 }
 
 void graph_trace_close(struct trace_iterator *iter)
@@ -1468,12 +1469,12 @@ static __init int init_graph_trace(void)
        max_bytes_for_cpu = snprintf(NULL, 0, "%d", nr_cpu_ids - 1);
 
        if (!register_trace_event(&graph_trace_entry_event)) {
-               pr_warning("Warning: could not register graph trace events\n");
+               pr_warn("Warning: could not register graph trace events\n");
                return 1;
        }
 
        if (!register_trace_event(&graph_trace_ret_event)) {
-               pr_warning("Warning: could not register graph trace events\n");
+               pr_warn("Warning: could not register graph trace events\n");
                return 1;
        }