OSDN Git Service

RISC-V: smpboot: Create wrapper setup_smp()
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 15 May 2023 05:49:18 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Jun 2023 15:45:05 +0000 (08:45 -0700)
commit61946127ab49d0bb47786b8de2aff73a051e054f
treee74fa636b6eea9f7db8c2f32c658f6dfc95e1da4
parente6b9d8eddb1772d99a676a906d42865293934edd
RISC-V: smpboot: Create wrapper setup_smp()

setup_smp() currently assumes DT-based platforms. To enable ACPI,
first make this a wrapper function and move existing code to
a separate DT-specific function.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20230515054928.2079268-12-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/smpboot.c