Use bool value in set_cpu_online()
authorZhao Ke <ke.zhao@shingroup.cn>
Mon, 18 Mar 2024 06:54:04 +0000 (14:54 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 22 May 2024 23:12:52 +0000 (16:12 -0700)
commit10378a39ed76b8ee915edaff0939c62d5e3ddb54
tree14fd012f0e3a7a7ffdfd60caec110bab40c450dc
parentf8ea6ab92748e69216b44b07ea7213cb02070dba
Use bool value in set_cpu_online()

The declaration of set_cpu_online() takes a bool value. So replace
int here to make it consistent with the declaration.

Signed-off-by: Zhao Ke <ke.zhao@shingroup.cn>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20240318065404.123668-1-ke.zhao@shingroup.cn
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/smpboot.c