From: Bibo Mao<maobibo@loongson.cn>
Move the common code from loongson_ipi.c to loongson_ipi_common.c,
call parent_realize() instead of loongson_ipi_common_realize() in
loongson_ipi_realize().
Signed-off-by: Bibo Mao<maobibo@loongson.cn>
[PMD: Extracted from bigger commit, added commit description]
Co-Developed-by: Philippe Mathieu-Daudé<philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
Reviewed-by: Bibo Mao<maobibo@loongson.cn>
Tested-by: Bibo Mao<maobibo@loongson.cn>
---
hw/intc/loongson_ipi.c | 269 +--------------------------------
hw/intc/loongson_ipi_common.c | 272 ++++++++++++++++++++++++++++++++++
2 files changed, 274 insertions(+), 267 deletions(-)