aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index a5bd60453eae..7ffaabd64f89 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2873,7 +2873,7 @@ asmlinkage void __sched schedule(void)
2873 */ 2873 */
2874 if (likely(!current->exit_state)) { 2874 if (likely(!current->exit_state)) {
2875 if (unlikely(in_atomic())) { 2875 if (unlikely(in_atomic())) {
2876 printk(KERN_ERR "scheduling while atomic: " 2876 printk(KERN_ERR "BUG: scheduling while atomic: "
2877 "%s/0x%08x/%d\n", 2877 "%s/0x%08x/%d\n",
2878 current->comm, preempt_count(), current->pid); 2878 current->comm, preempt_count(), current->pid);
2879 dump_stack(); 2879 dump_stack();
@@ -6074,7 +6074,7 @@ void __might_sleep(char *file, int line)
6074 if (time_before(jiffies, prev_jiffy + HZ) && prev_jiffy) 6074 if (time_before(jiffies, prev_jiffy + HZ) && prev_jiffy)
6075 return; 6075 return;
6076 prev_jiffy = jiffies; 6076 prev_jiffy = jiffies;
6077 printk(KERN_ERR "Debug: sleeping function called from invalid" 6077 printk(KERN_ERR "BUG: sleeping function called from invalid"
6078 " context at %s:%d\n", file, line); 6078 " context at %s:%d\n", file, line);
6079 printk("in_atomic():%d, irqs_disabled():%d\n", 6079 printk("in_atomic():%d, irqs_disabled():%d\n",
6080 in_atomic(), irqs_disabled()); 6080 in_atomic(), irqs_disabled());