summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_ecall_legacy.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-27 09:13:37 +0300
committerAnup Patel <anup@brainfault.org>2020-03-28 11:02:52 +0300
commitec0d80f5b4928ebedee8881be47f8c430db667af (patch)
treea0ea354ddb79e9d5a6ba42e48e961794bf460859 /lib/sbi/sbi_ecall_legacy.c
parent9e52a45f4be89df7000dcc1009af669e2e30d850 (diff)
downloadopensbi-ec0d80f5b4928ebedee8881be47f8c430db667af.tar.xz
include: sbi_system: Remove scratch parameter and redundant functions
This patch removes scratch parameter and redundant functions from sbi_system. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_ecall_legacy.c')
-rw-r--r--lib/sbi/sbi_ecall_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_ecall_legacy.c b/lib/sbi/sbi_ecall_legacy.c
index 32183cb..36d6f17 100644
--- a/lib/sbi/sbi_ecall_legacy.c
+++ b/lib/sbi/sbi_ecall_legacy.c
@@ -102,7 +102,7 @@ static int sbi_ecall_legacy_handler(unsigned long extid, unsigned long funcid,
}
break;
case SBI_EXT_0_1_SHUTDOWN:
- sbi_system_shutdown(scratch, 0);
+ sbi_system_shutdown(0);
break;
default:
ret = SBI_ENOTSUPP;