diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-20 16:44:38 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 13:32:26 +0530 |
commit | 7b211ff92482379aa34c0a217e2aeded5713b2d5 (patch) | |
tree | 57aa2d7ec20b0ebb953b3d313e45a58c40365686 /lib/sbi/sbi_hsm.c | |
parent | 40b221baffd6bb348b63367784d4f6fcff53c24a (diff) |
include: sbi_platform: Remove priv parameter from hart_start() callback
The priv parameter in hart_start() platform callback is redundant hence
we remove it.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_hsm.c')
-rw-r--r-- | lib/sbi/sbi_hsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_hsm.c b/lib/sbi/sbi_hsm.c index 10316c5..c896f79 100644 --- a/lib/sbi/sbi_hsm.c +++ b/lib/sbi/sbi_hsm.c @@ -240,7 +240,7 @@ int sbi_hsm_hart_start(struct sbi_scratch *scratch, u32 hartid, if (sbi_platform_has_hart_hotplug(plat) || (sbi_platform_has_hart_secondary_boot(plat) && !init_count)) { return sbi_platform_hart_start(plat, hartid, - scratch->warmboot_addr, priv); + scratch->warmboot_addr); } else { sbi_platform_ipi_send(plat, hartid); } |