mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
module.h: Document klp_modinfo struct using kdoc
Previously the documentation existed only in Documentation/livepatch directory. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
parent
fbed4fea64
commit
eca0edaf6c
1 changed files with 8 additions and 0 deletions
|
@ -352,6 +352,14 @@ struct mod_kallsyms {
|
|||
};
|
||||
|
||||
#ifdef CONFIG_LIVEPATCH
|
||||
/**
|
||||
* struct klp_modinfo - Elf information preserved from the livepatch module
|
||||
*
|
||||
* @hdr: Elf header
|
||||
* @sechdrs: Section header table
|
||||
* @secstrings: String table for the section headers
|
||||
* @symndx: The symbol table section index
|
||||
*/
|
||||
struct klp_modinfo {
|
||||
Elf_Ehdr hdr;
|
||||
Elf_Shdr *sechdrs;
|
||||
|
|
Loading…
Reference in a new issue