RE: [PATCH] printk: add cpu id information to printk() output

Luck, Tony
2023-09-15T16:31:51Z

> + return in_task() ? task_pid_nr(current) | (smp_processor_id() << CPU_ID_SHIFT) :

There are contexts and CONFIG options around pre-emption where smp_processor_id()
will throw a warning. Use raw_smp_processor_id().

-Tony