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>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2020-03-28 13:32:52 +05:30
1 parent 9e52a45f4b
commit ec0d80f5b4
4 files changed
+11 -39

No files matched your search

+1 -1
View File
@@ -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;