diff options
| author | gagachang <[email protected]> | 2022-07-15 01:29:41 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-07-20 10:05:33 +0530 |
| commit | 0374ccf3f13e11f98da8158d9a5fa2a8607fe50e (patch) | |
| tree | 67f14c694088575d62b8f6aab2a3cff0f94df8e2 /lib/utils/timer/objects.mk | |
| parent | caa5eeacacbc935090968e601716f66a6195ceef (diff) | |
lib: sbi_hart: Shorten the code to set MPV bit
MPV bit is set when the value of next_virt boolean variable equals
true. Since the value of next_virt is either 0 or 1, we can set
MPV bit without if-else logic.
Signed-off-by: Che-Chia Chang <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
