diff options
| author | Anup Patel <[email protected]> | 2020-03-19 17:37:54 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-03-28 13:32:01 +0530 |
| commit | 626467cfd96f99230ff5d83f98562f23aee291c3 (patch) | |
| tree | 3393115a6749f38cdb23a1ef0e1e3834165db72e /include | |
| parent | 1de66d170e71fb94732ffc80dcf4e70e623c4f7a (diff) | |
lib: Remove scratch parameter from unpriv load/store functions
The scratch parameter of unpriv load/store functions is now redundant
hence we remove it.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_unpriv.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sbi/sbi_unpriv.h b/include/sbi/sbi_unpriv.h index 747ba731..8cbd3de0 100644 --- a/include/sbi/sbi_unpriv.h +++ b/include/sbi/sbi_unpriv.h @@ -17,12 +17,10 @@ struct sbi_trap_info; #define DECLARE_UNPRIVILEGED_LOAD_FUNCTION(type) \ type sbi_load_##type(const type *addr, \ - struct sbi_scratch *scratch, \ struct sbi_trap_info *trap); #define DECLARE_UNPRIVILEGED_STORE_FUNCTION(type) \ void sbi_store_##type(type *addr, type val, \ - struct sbi_scratch *scratch, \ struct sbi_trap_info *trap); DECLARE_UNPRIVILEGED_LOAD_FUNCTION(u8) @@ -38,7 +36,6 @@ DECLARE_UNPRIVILEGED_LOAD_FUNCTION(u64) DECLARE_UNPRIVILEGED_STORE_FUNCTION(u64) DECLARE_UNPRIVILEGED_LOAD_FUNCTION(ulong) -ulong sbi_get_insn(ulong mepc, struct sbi_scratch *scratch, - struct sbi_trap_info *trap); +ulong sbi_get_insn(ulong mepc, struct sbi_trap_info *trap); #endif |
