lib: Remove source_hart and hartid parameter from IPI callbacks

The source_hart and hartid parameter is really not required in
IPI callbacks of sbi_platform because current hartid can always
be obtained by calling sbi_current_hartid() API.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup patel authored and Anup Patel committed 2019-01-23 08:39:26 +05:30
1 parent fea9e2b5f3
commit 18ec89e46e
13 files changed
+52 -55

No files matched your search

+2 -2
View File
@@ -141,7 +141,7 @@ static int fu540_irqchip_init(u32 hartid, bool cold_boot)
(hartid) ? (2 * hartid) : -1);
}
static int fu540_ipi_init(u32 hartid, bool cold_boot)
static int fu540_ipi_init(bool cold_boot)
{
int rc;
@@ -153,7 +153,7 @@ static int fu540_ipi_init(u32 hartid, bool cold_boot)
}
return clint_warm_ipi_init(hartid);
return clint_warm_ipi_init();
}
static int fu540_timer_init(u32 hartid, bool cold_boot)