summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorgagachang <[email protected]>2022-07-15 01:29:41 +0800
committerAnup Patel <[email protected]>2022-07-20 10:05:33 +0530
commit0374ccf3f13e11f98da8158d9a5fa2a8607fe50e (patch)
tree67f14c694088575d62b8f6aab2a3cff0f94df8e2 /lib/utils/timer
parentcaa5eeacacbc935090968e601716f66a6195ceef (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')
0 files changed, 0 insertions, 0 deletions