From: Bibo Mao<maobibo@loongson.cn>
In preparation to extract common IPI code in few commits,
extract loongson_ipi_common_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 | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)