aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/smp_processor_id.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/smp_processor_id.c b/lib/smp_processor_id.c
index 835cc6df2776..85925aaa4fff 100644
--- a/lib/smp_processor_id.c
+++ b/lib/smp_processor_id.c
@@ -5,7 +5,6 @@
5 * DEBUG_PREEMPT variant of smp_processor_id(). 5 * DEBUG_PREEMPT variant of smp_processor_id().
6 */ 6 */
7#include <linux/export.h> 7#include <linux/export.h>
8#include <linux/kallsyms.h>
9#include <linux/sched.h> 8#include <linux/sched.h>
10 9
11notrace static unsigned int check_preemption_disabled(const char *what1, 10notrace static unsigned int check_preemption_disabled(const char *what1,
@@ -43,7 +42,7 @@ notrace static unsigned int check_preemption_disabled(const char *what1,
43 printk(KERN_ERR "BUG: using %s%s() in preemptible [%08x] code: %s/%d\n", 42 printk(KERN_ERR "BUG: using %s%s() in preemptible [%08x] code: %s/%d\n",
44 what1, what2, preempt_count() - 1, current->comm, current->pid); 43 what1, what2, preempt_count() - 1, current->comm, current->pid);
45 44
46 print_symbol("caller is %s\n", (long)__builtin_return_address(0)); 45 printk("caller is %pS\n", __builtin_return_address(0));
47 dump_stack(); 46 dump_stack();
48 47
49out_enable: 48out_enable: