Split schedule() {raw_}irq warnings
PATCH 1/1 Split schedule() {raw_}irq warnings
I changed this error message so it's clear what triggered it.
If it's a raw_ type it says it's raw.
Signed-off-by Daniel Walker <[email protected]>
kernel/sched.c +3 -2
@@ -3568,9 +3568,10 @@ asmlinkage void __sched schedule(void)*/ if (unlikely (irqs_disabled () ||raw_irqs_disabled ())) {stop_trace (); -printk (KERN_ERR "BUG: scheduling with irqs disabled: " +printk (KERN_ERR "BUG: scheduling with %sirqs disabled: " "%s/0x%08x/%d\n" , - current->comm,preempt_count (), current->pid); + (irqs_disabled ())?"" :"raw " , current->comm, +preempt_count (), current->pid);print_symbol ("caller is %s\n" , (long )__builtin_return_address (0 ));dump_stack ();
Quoted 4 lines · Daniel Walker
I changed this error message so it's clear what triggered it.
If it's araw_type it says it's raw.Signed-off-by Daniel Walker <[email protected]>
ok, added it. (with small modifications)
Ingo