diff options
Diffstat (limited to 'include/qemu/thread.h')
-rw-r--r-- | include/qemu/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/thread.h b/include/qemu/thread.h index 5f7de7b..9910f49 100644 --- a/include/qemu/thread.h +++ b/include/qemu/thread.h @@ -100,7 +100,9 @@ static inline void qemu_spin_unlock(QemuSpin *spin) } struct QemuLockCnt { +#ifndef CONFIG_LINUX QemuMutex mutex; +#endif unsigned count; }; |