aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/backtracetest.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 19:11:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:14 -0400
commit462b29b8564c489e0aa3f5a3a505fd2776af5e55 (patch)
tree1b0d7c18c9c781b3e0907d43d3c1602c28213ba9 /kernel/backtracetest.c
parent84117da5b79ffb4077bb05d64c86dfa4d746115c (diff)
kernel/backtracetest.c: replace no level printk by pr_info()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/backtracetest.c')
-rw-r--r--kernel/backtracetest.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/backtracetest.c b/kernel/backtracetest.c
index a5e026bc45c4..1323360d90e3 100644
--- a/kernel/backtracetest.c
+++ b/kernel/backtracetest.c
@@ -19,8 +19,8 @@
19 19
20static void backtrace_test_normal(void) 20static void backtrace_test_normal(void)
21{ 21{
22 printk("Testing a backtrace from process context.\n"); 22 pr_info("Testing a backtrace from process context.\n");
23 printk("The following trace is a kernel self test and not a bug!\n"); 23 pr_info("The following trace is a kernel self test and not a bug!\n");
24 24
25 dump_stack(); 25 dump_stack();
26} 26}
@@ -37,8 +37,8 @@ static DECLARE_TASKLET(backtrace_tasklet, &backtrace_test_irq_callback, 0);
37 37
38static void backtrace_test_irq(void) 38static void backtrace_test_irq(void)
39{ 39{
40 printk("Testing a backtrace from irq context.\n"); 40 pr_info("Testing a backtrace from irq context.\n");
41 printk("The following trace is a kernel self test and not a bug!\n"); 41 pr_info("The following trace is a kernel self test and not a bug!\n");
42 42
43 init_completion(&backtrace_work); 43 init_completion(&backtrace_work);
44 tasklet_schedule(&backtrace_tasklet); 44 tasklet_schedule(&backtrace_tasklet);
@@ -51,8 +51,8 @@ static void backtrace_test_saved(void)
51 struct stack_trace trace; 51 struct stack_trace trace;
52 unsigned long entries[8]; 52 unsigned long entries[8];
53 53
54 printk("Testing a saved backtrace.\n"); 54 pr_info("Testing a saved backtrace.\n");
55 printk("The following trace is a kernel self test and not a bug!\n"); 55 pr_info("The following trace is a kernel self test and not a bug!\n");
56 56
57 trace.nr_entries = 0; 57 trace.nr_entries = 0;
58 trace.max_entries = ARRAY_SIZE(entries); 58 trace.max_entries = ARRAY_SIZE(entries);
@@ -65,19 +65,19 @@ static void backtrace_test_saved(void)
65#else 65#else
66static void backtrace_test_saved(void) 66static void backtrace_test_saved(void)
67{ 67{
68 printk("Saved backtrace test skipped.\n"); 68 pr_info("Saved backtrace test skipped.\n");
69} 69}
70#endif 70#endif
71 71
72static int backtrace_regression_test(void) 72static int backtrace_regression_test(void)
73{ 73{
74 printk("====[ backtrace testing ]===========\n"); 74 pr_info("====[ backtrace testing ]===========\n");
75 75
76 backtrace_test_normal(); 76 backtrace_test_normal();
77 backtrace_test_irq(); 77 backtrace_test_irq();
78 backtrace_test_saved(); 78 backtrace_test_saved();
79 79
80 printk("====[ end of backtrace testing ]====\n"); 80 pr_info("====[ end of backtrace testing ]====\n");
81 return 0; 81 return 0;
82} 82}
83 83