printk: get caller_id/timestamp after migration disable
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 21 Apr 2022 21:22:41 +0000 (23:28 +0206)
committerPetr Mladek <pmladek@suse.com>
Fri, 22 Apr 2022 19:30:57 +0000 (21:30 +0200)
commit9f0844de49cf0557d5c359131004acbb179c174e
treeedadcccad1fff272390ad9d4db0abf34db3793ad
parent5341b93dea8c39d7612f7a227015d4b1d5cf30db
printk: get caller_id/timestamp after migration disable

Currently the local CPU timestamp and caller_id for the record are
collected while migration is enabled. Since this information is
CPU-specific, it should be collected with migration disabled.

Migration is disabled immediately after collecting this information
anyway, so just move the information collection to after the
migration disabling.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220421212250.565456-7-john.ogness@linutronix.de
kernel/printk/printk.c