docs: Add rbtree documentation to the core-api
Subsystems (2)
PATCH 1/1 docs: Add rbtree documentation to the core-api
From: "Matthew Wilcox (Oracle)" <[email protected]>
This file is close enough to being in rst format that I didn't feel the need to alter it in any way.
Signed-off-by Matthew Wilcox (Oracle) <[email protected]>
---
Documentation/core-api/index.rst | 1 +
Documentation/{rbtree.txt => core-api/rbtree.rst} | 0
include/linux/rbtree.h | 2 +-
include/linux/rbtree_augmented.h | 2 +-
lib/Kconfig | 2 +-
tools/include/linux/rbtree.h | 2 +-
tools/include/linux/rbtree_augmented.h | 2 +-
7 files changed, 6 insertions(+), 5 deletions(-)
rename Documentation/{rbtree.txt => core-api/rbtree.rst} (100%)Documentation/core-api/index.rst +1 -0
@@ -34,6 +34,7 @@ Library functionality that is used throughout the kernel. xarray idr circular-buffers + rbtree generic-radix-tree packing timekeeping
Documentation/core-api/rbtree.rst renamed from Documentation/rbtree.txt +0 -0
include/linux/rbtree.h +1 -1
@@ -11,7 +11,7 @@I know it's not the cleaner way, but in C (not in C++) to get performances and genericity... -See Documentation/rbtree.txt for documentation and samples. +See Documentation/core-api/rbtree.rst for documentation and samples. */ #ifndef _LINUX_RBTREE_H
include/linux/rbtree_augmented.h +1 -1
@@ -21,7 +21,7 @@* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * The rest are implementation details you are not expected to depend on. * -* See Documentation/rbtree.txt for documentation and samples. +* See Documentation/core-api/rbtree.rst for documentation and samples. */ struct rb_augment_callbacks {
lib/Kconfig +1 -1
@@ -427,7 +427,7 @@ config INTERVAL_TREE See: - Documentation/rbtree.txt + Documentation/core-api/rbtree.rst for more information.
tools/include/linux/rbtree.h +1 -1
@@ -11,7 +11,7 @@I know it's not the cleaner way, but in C (not in C++) to get performances and genericity... -See Documentation/rbtree.txt for documentation and samples. +See Documentation/core-api/rbtree.rst for documentation and samples. */ #ifndef __TOOLS_LINUX_PERF_RBTREE_H
tools/include/linux/rbtree_augmented.h +1 -1
@@ -23,7 +23,7 @@* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * The rest are implementation details you are not expected to depend on. * -* See Documentation/rbtree.txt for documentation and samples. +* See Documentation/core-api/rbtree.rst for documentation and samples. */ struct rb_augment_callbacks {
Signature · 1 line
2.25.1
Looks fine to me :)
Quoted 102 lines · Matthew Wilcox
From: "Matthew Wilcox (Oracle)" <[email protected]>
This file is close enough to being in rst format that I didn't feel the need to alter it in any way.
Signed-off-by Matthew Wilcox (Oracle) <[email protected]>--- Documentation/core-api/index.rst | 1 + Documentation/{rbtree.txt => core-api/rbtree.rst} | 0 include/linux/rbtree.h | 2 +- include/linux/rbtree_augmented.h | 2 +- lib/Kconfig | 2 +- tools/include/linux/rbtree.h | 2 +- tools/include/linux/rbtree_augmented.h | 2 +- 7 files changed, 6 insertions(+), 5 deletions(-) rename Documentation/{rbtree.txt => core-api/rbtree.rst} (100%)Documentation/core-api/index.rst +1
-0@@ -34,6 +34,7 @@ Library functionality that is used throughout the kernel. xarray idr circular-buffers + rbtree generic-radix-tree packing timekeepingDocumentation/core-api/rbtree.rst renamed from Documentation/rbtree.txt +0
-0include/linux/rbtree.h +1
-1@@ -11,7 +11,7 @@I know it's not the cleaner way, but in C (not in C++) to get performances and genericity... -See Documentation/rbtree.txt for documentation and samples. +See Documentation/core-api/rbtree.rst for documentation and samples. */ #ifndef _LINUX_RBTREE_Hinclude/linux/rbtree_augmented.h +1
-1@@ -21,7 +21,7 @@* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * The rest are implementation details you are not expected to depend on. * -* See Documentation/rbtree.txt for documentation and samples. +* See Documentation/core-api/rbtree.rst for documentation and samples. */ struct rb_augment_callbacks {lib/Kconfig +1
-1@@ -427,7 +427,7 @@ config INTERVAL_TREE See: - Documentation/rbtree.txt + Documentation/core-api/rbtree.rst for more information.tools/include/linux/rbtree.h +1
-1@@ -11,7 +11,7 @@I know it's not the cleaner way, but in C (not in C++) to get performances and genericity... -See Documentation/rbtree.txt for documentation and samples. +See Documentation/core-api/rbtree.rst for documentation and samples. */ #ifndef __TOOLS_LINUX_PERF_RBTREE_Htools/include/linux/rbtree_augmented.h +1
-2@@ -23,7 +23,7 @@* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * The rest are implementation details you are not expected to depend on. * -* See Documentation/rbtree.txt for documentation and samples. +* See Documentation/core-api/rbtree.rst for documentation and samples. */ struct rb_augment_callbacks { --2.25.1
Signature · 2 lines
Michel "Walken" Lespinasse A program is never fully debugged until the last user dies.