mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
replace spinlock_obtain/spinlock_release with spinlock_irqsave_obtain and spinlock_irqrestore_release to avoid dead lock for uart module. this uart lock may be accessed in ISR context like this path: dispatch_interrupt->pr_err/pr_xxx or printf ->console_write->uart16550_puts Tracked-On: #4958 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>