Skip to content

Commit 7af6fbd

Browse files
broonieJiri Kosina
authored andcommitted
Documentation: livepatch: Convert to automatically generated contents
Automatically generate the tables of contents for livepatch documentation files that have tables of contents rather than open coding them so things are a little easier to maintain. Signed-off-by: Mark Brown <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 0cd7d97 commit 7af6fbd

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

Documentation/livepatch/livepatch.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,7 @@ This document outlines basic information about kernel livepatching.
66

77
.. Table of Contents:
88
9-
1. Motivation
10-
2. Kprobes, Ftrace, Livepatching
11-
3. Consistency model
12-
4. Livepatch module
13-
4.1. New functions
14-
4.2. Metadata
15-
5. Livepatch life-cycle
16-
5.1. Loading
17-
5.2. Enabling
18-
5.3. Replacing
19-
5.4. Disabling
20-
5.5. Removing
21-
6. Sysfs
22-
7. Limitations
9+
.. contents:: :local:
2310

2411

2512
1. Motivation

Documentation/livepatch/module-elf-format.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@ This document outlines the Elf format requirements that livepatch modules must f
77

88
.. Table of Contents
99
10-
1. Background and motivation
11-
2. Livepatch modinfo field
12-
3. Livepatch relocation sections
13-
3.1 Livepatch relocation section format
14-
4. Livepatch symbols
15-
4.1 A livepatch module's symbol table
16-
4.2 Livepatch symbol format
17-
5. Symbol table and Elf section access
10+
.. contents:: :local:
11+
1812

1913
1. Background and motivation
2014
============================

0 commit comments

Comments
 (0)