Page MenuHomeFreeBSD

D30706.diff
No OneTemporary

D30706.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h
--- a/sys/compat/linuxkpi/common/include/linux/spinlock.h
+++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h
@@ -104,6 +104,11 @@
#define spin_trylock_irq(_l) \
spin_trylock(_l)
+#define spin_trylock_irqsave(_l, flags) ({ \
+ (flags) = 0; \
+ spin_trylock(_l); \
+})
+
#define spin_lock_nested(_l, _n) do { \
if (SPIN_SKIP()) \
break; \

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 8:29 AM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16133131
Default Alt Text
D30706.diff (488 B)

Event Timeline