hw/intc/loongarch_extioi: Get cpu number from possible_cpu_arch_ids
authorBibo Mao <maobibo@loongson.cn>
Mon, 6 Jan 2025 07:36:25 +0000 (15:36 +0800)
committerBibo Mao <maobibo@loongson.cn>
Thu, 9 Jan 2025 06:13:24 +0000 (14:13 +0800)
commit5a3e068d411c563d924f5eb40f82e91aaca1eaed
tree076e2645e9591ec7fb8bd23d279ece6dda59ba59
parent38adceb4c38de657f03132ccd9fd380395957a9f
hw/intc/loongarch_extioi: 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.

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