summaryrefslogtreecommitdiff
path: root/lib/sbi_trap.c
diff options
context:
space:
mode:
authorAnup patel <[email protected]>2019-01-22 14:20:59 +0530
committerAnup Patel <[email protected]>2019-01-23 08:39:26 +0530
commit18ec89e46e3cf8011b30deded6ea8d77720bdb3c (patch)
treee2fcd2f5fa1928a0f9b7d2b2c2dc8b42296d5d1e /lib/sbi_trap.c
parentfea9e2b5f37446845bec3cc9e2edd6f8308c2332 (diff)
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 <[email protected]>
Diffstat (limited to 'lib/sbi_trap.c')
-rw-r--r--lib/sbi_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi_trap.c b/lib/sbi_trap.c
index 3c016606..d628c4c0 100644
--- a/lib/sbi_trap.c
+++ b/lib/sbi_trap.c
@@ -150,7 +150,7 @@ void sbi_trap_handler(struct sbi_trap_regs *regs,
sbi_timer_process(scratch, hartid);
break;
case IRQ_M_SOFT:
- sbi_ipi_process(scratch, hartid);
+ sbi_ipi_process(scratch);
break;
default:
msg = "unhandled external interrupt";