]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: smp: use secs_to_jiffies in __cpu_up
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 11 Jun 2026 23:25:38 +0000 (01:25 +0200)
committerPaul Walmsley <pjw@kernel.org>
Thu, 25 Jun 2026 18:24:25 +0000 (12:24 -0600)
commit68fb3c026bec6f5dbd8ed5f2e57ef6535ec13341
tree2b103aac3594dd4e1bc9d0041aa5a4265f2234aa
parentb8f62414fa05144924257db283c5c35f74d21121
riscv: smp: use secs_to_jiffies in __cpu_up

Use secs_to_jiffies() to simplify the code. Drop the redundant zero
initialization while at it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260611232537.467398-3-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/smpboot.c