Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145708811
D37743.id114299.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
548 B
Referenced Files
None
Subscribers
None
D37743.id114299.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/rbtree.h b/sys/compat/linuxkpi/common/include/linux/rbtree.h
--- a/sys/compat/linuxkpi/common/include/linux/rbtree.h
+++ b/sys/compat/linuxkpi/common/include/linux/rbtree.h
@@ -41,8 +41,8 @@
struct rb_node {
RB_ENTRY(rb_node) __entry;
};
-#define rb_left __entry.rbe_link[_RB_L]
-#define rb_right __entry.rbe_link[_RB_R]
+#define rb_left __entry.rbe_link[_RB_L-1]
+#define rb_right __entry.rbe_link[_RB_R-1]
/*
* We provide a false structure that has the same bit pattern as tree.h
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 24, 10:55 AM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28972581
Default Alt Text
D37743.id114299.diff (548 B)
Attached To
Mode
D37743: rb_tree: fix linux links for 13 compat
Attached
Detach File
Event Timeline
Log In to Comment