Convert them to pr_*(). No functional change.
Unified · Split
| @@ -9516,16 +9516,14 @@ void __might_resched(const char *file, int line, int preempt_offset) · 9515 unmodified lines | ||
| 9516 | 9516 | /* Save this before calling printk(), since that will clobber it: */ |
| 9517 | 9517 | preempt_disable_ip = get_preempt_disable_ip(current); |
| 9518 | 9518 | |
| 9519 | − printk(KERN_ERR | |
| 9520 | − "BUG: sleeping function called from invalid context at %s:%d\n", | |
| 9521 | − file, line); | |
| 9522 | − printk(KERN_ERR | |
| 9523 | − "in_atomic(): %d, irqs_disabled(): %d, non_block: %d, pid: %d, name: %s\n", | |
| 9524 | − in_atomic(), irqs_disabled(), current->non_block_count, | |
| 9525 | − current->pid, current->comm); | |
| 9519 | + pr_err("BUG: sleeping function called from invalid context at %s:%d\n", | |
| 9520 | + file, line); | |
| 9521 | + pr_err("in_atomic(): %d, irqs_disabled(): %d, non_block: %d, pid: %d, name: %s\n", | |
| 9522 | + in_atomic(), irqs_disabled(), current->non_block_count, | |
| 9523 | + current->pid, current->comm); | |
| 9526 | 9524 | |
| 9527 | 9525 | if (task_stack_end_corrupted(current)) |
| 9528 | − printk(KERN_EMERG "Thread overran stack, or stack corrupted\n"); | |
| 9526 | + pr_emerg("Thread overran stack, or stack corrupted\n"); | |
| 9529 | 9527 | |
| 9530 | 9528 | debug_show_held_locks(current); |
| 9531 | 9529 | if (irqs_disabled()) |