Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150331384
D30711.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
523 B
Referenced Files
None
Subscribers
None
D30711.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
@@ -66,6 +66,7 @@
#define spin_lock_bh(_l) do { \
spin_lock(_l); \
+ local_bh_disable(); \
} while (0)
#define spin_lock_irq(_l) do { \
@@ -80,6 +81,7 @@
} while (0)
#define spin_unlock_bh(_l) do { \
+ local_bh_enable(); \
spin_unlock(_l); \
} while (0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 6:33 AM (4 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30668750
Default Alt Text
D30711.diff (523 B)
Attached To
Mode
D30711: LinuxKPI: avoid userret: Returning with with pinned thread
Attached
Detach File
Event Timeline
Log In to Comment