lib: utils/ipi: Use scratch space to save per-HART MSWI pointer
authorAnup Patel <apatel@ventanamicro.com>
Wed, 19 Apr 2023 15:53:53 +0000 (21:23 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:32:59 +0000 (16:02 +0530)
commitacbd8fce9e5d92f07d344388a3b046f1722ce072
treef0b3184edcb3331bd8c10c9c22a882d5a527e49a
parent3c1c972cb69d670ddc309391c4db76f1f19fd77e
lib: utils/ipi: Use scratch space to save per-HART MSWI pointer

Instead of using a global array indexed by hartid, we should use
scratch space to save per-HART MSWI pointer.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/utils/ipi/aclint_mswi.c