Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Define stub struct rb_ro...



details:   https://anonhg.NetBSD.org/src/rev/e6a91d4bcae9
branches:  trunk
changeset: 1027808:e6a91d4bcae9
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:47:54 2021 +0000

description:
Define stub struct rb_root_cached.

diffstat:

 sys/external/bsd/drm2/include/linux/rbtree.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f2f2cfae0d19 -r e6a91d4bcae9 sys/external/bsd/drm2/include/linux/rbtree.h
--- a/sys/external/bsd/drm2/include/linux/rbtree.h      Sun Dec 19 00:47:47 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/rbtree.h      Sun Dec 19 00:47:54 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rbtree.h,v 1.3 2021/12/19 00:46:44 riastradh Exp $     */
+/*     $NetBSD: rbtree.h,v 1.4 2021/12/19 00:47:54 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -38,6 +38,10 @@
        struct rb_tree  rbr_tree;
 };
 
+struct rb_root_cached {
+       struct rb_root  rbrc_root;
+};
+
 static inline bool
 RB_EMPTY_ROOT(struct rb_root *root)
 {



Home | Main Index | Thread Index | Old Index