Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175804768
D60631.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
D60631.diff
View Options
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
@@ -205,6 +205,11 @@
/*
* cleanup.h related pre-defined cases.
*/
+DEFINE_LOCK_GUARD_1(spinlock_bh,
+ spinlock_t,
+ spin_lock_bh(_T->lock),
+ spin_unlock_bh(_T->lock))
+
DEFINE_LOCK_GUARD_1(spinlock_irqsave,
spinlock_t,
spin_lock_irqsave(_T->lock, _T->flags),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 14, 12:12 PM (2 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40713123
Default Alt Text
D60631.diff (521 B)
Attached To
Mode
D60631: LinuxKPI: add spinlock_bh guard support
Attached
Detach File
Event Timeline
Log In to Comment