hw/intc/loongarch_ipi: Get cpu number from possible_cpu_arch_ids
authorBibo Mao <maobibo@loongson.cn>
Tue, 7 Jan 2025 03:08:16 +0000 (11:08 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 15 Jan 2025 06:29:14 +0000 (14:29 +0800)
commit14dc02b56a3d4434401ad92415cbec3e30ff3fa5
tree6a6d77412e7a79590c13493fc7c6c82e2a6c7511
parentce78dacf7e9b22dcc121dca17b1a3bcd93751680
hw/intc/loongarch_ipi: Get cpu number from possible_cpu_arch_ids

Supported CPU number can be acquired from function
possible_cpu_arch_ids(), cpu-num property is not necessary and can
be removed.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
hw/intc/loongarch_ipi.c
include/hw/intc/loongson_ipi_common.h