diff options
| author | Dong Du <[email protected]> | 2021-08-28 14:45:02 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-08-30 09:12:37 +0530 |
| commit | c2623065331a9ae93f7dbd9d1bc7b4d46d0415a6 (patch) | |
| tree | 92b999cbb1209ea4e2ed863630db7bb839d38914 /lib/utils/timer/fdt_timer_mtimer.c | |
| parent | bd316e2c9bf855b7b7918e71622a9cded6a176ad (diff) | |
lib: sbi: protect dprintf output with spinlock
Avoid getting messages from multiple harts (using dprintf and printf)
concurrently with a spinlock serializaing calls to sbi_dprintf(),
sbi_printf() and sbi_puts()
Signed-off-by: Dong Du <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions
