summaryrefslogtreecommitdiff
path: root/Documentation/livepatch/module-elf-format.rst
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-01-20 19:47:13 +0300
committerJiri Kosina <jkosina@suse.cz>2021-01-26 13:50:00 +0300
commit7af6fbddbd3379243f11367ca03e2635e42b89ba (patch)
tree1c01c2f114b488ab6b8f4630954fdd6d7487d83b /Documentation/livepatch/module-elf-format.rst
parent0cd7d9795fa82226e7516d38b474bddae8b1ff26 (diff)
downloadlinux-7af6fbddbd3379243f11367ca03e2635e42b89ba.tar.xz
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>
Diffstat (limited to 'Documentation/livepatch/module-elf-format.rst')
-rw-r--r--Documentation/livepatch/module-elf-format.rst10
1 files changed, 2 insertions, 8 deletions
diff --git a/Documentation/livepatch/module-elf-format.rst b/Documentation/livepatch/module-elf-format.rst
index 8c6b894c4661..dbe9b400e39f 100644
--- a/Documentation/livepatch/module-elf-format.rst
+++ b/Documentation/livepatch/module-elf-format.rst
@@ -7,14 +7,8 @@ This document outlines the Elf format requirements that livepatch modules must f
.. Table of Contents
- 1. Background and motivation
- 2. Livepatch modinfo field
- 3. Livepatch relocation sections
- 3.1 Livepatch relocation section format
- 4. Livepatch symbols
- 4.1 A livepatch module's symbol table
- 4.2 Livepatch symbol format
- 5. Symbol table and Elf section access
+.. contents:: :local:
+
1. Background and motivation
============================