diff options
| author | Anup Patel <[email protected]> | 2023-02-13 10:39:06 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-02-27 11:26:37 +0530 |
| commit | 31b82e0d5046dda92d5d393d66455545763b99c9 (patch) | |
| tree | 7d472bf775a463472ba955c173a8fe273ee64a68 /platform | |
| parent | 81adc62f45c0baf13112358164a327197e70a7af (diff) | |
include: sbi: Remove extid parameter from vendor_ext_provider() callback
The extid parameter of vendor_ext_provider() is redundant so let us
remove it.
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/generic/include/platform_override.h | 2 | ||||
| -rw-r--r-- | platform/generic/platform.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/generic/include/platform_override.h b/platform/generic/include/platform_override.h index 350c3811..0d9e5ee6 100644 --- a/platform/generic/include/platform_override.h +++ b/platform/generic/include/platform_override.h @@ -27,7 +27,7 @@ struct platform_override { int (*extensions_init)(const struct fdt_match *match, struct sbi_hart_features *hfeatures); void (*fw_init)(void *fdt, const struct fdt_match *match); - int (*vendor_ext_provider)(long extid, long funcid, + int (*vendor_ext_provider)(long funcid, const struct sbi_trap_regs *regs, unsigned long *out_value, struct sbi_trap_info *out_trap, diff --git a/platform/generic/platform.c b/platform/generic/platform.c index 88c3ec7e..0b90fd7c 100644 --- a/platform/generic/platform.c +++ b/platform/generic/platform.c @@ -186,12 +186,12 @@ static bool generic_vendor_ext_check(void) true : false; } -static int generic_vendor_ext_provider(long extid, long funcid, +static int generic_vendor_ext_provider(long funcid, const struct sbi_trap_regs *regs, unsigned long *out_value, struct sbi_trap_info *out_trap) { - return generic_plat->vendor_ext_provider(extid, funcid, regs, + return generic_plat->vendor_ext_provider(funcid, regs, out_value, out_trap, generic_plat_match); } |
