Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147208627
D45875.id140559.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
368 B
Referenced Files
None
Subscribers
None
D45875.id140559.diff
View Options
diff --git a/sys/sys/sx.h b/sys/sys/sx.h
--- a/sys/sys/sx.h
+++ b/sys/sys/sx.h
@@ -303,7 +303,7 @@
/* since we have no threads in the boot loader, trivially implement no-op version */
#define sx_xlock(s) (1)
#define sx_try_xlock(s) (1)
-#define sx_xunlock(s) (1)
+#define sx_xunlock(s) do {} while (0)
#define SX_DUPOK 0
#define SX_NEW 0
#define SX_NOWITNESS 0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 10, 3:26 AM (54 m, 37 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29471536
Default Alt Text
D45875.id140559.diff (368 B)
Attached To
Mode
D45875: sx: avoid gcc -Wunused-value
Attached
Detach File
Event Timeline
Log In to Comment