Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <broonie@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Mark Brown and committed by
Jiri Kosina
7af6fbdd 0cd7d979

+3 -22
+1 -14
Documentation/livepatch/livepatch.rst
··· 6 6 7 7 .. Table of Contents: 8 8 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: 23 10 24 11 25 12 1. Motivation
+2 -8
Documentation/livepatch/module-elf-format.rst
··· 7 7 8 8 .. Table of Contents 9 9 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 + 18 12 19 13 1. Background and motivation 20 14 ============================