Files
Karl Mehltretter b76b794226 Documentation: livepatch: Point klp_callbacks kernel-doc at livepatch_external.h
api.rst asks include/linux/livepatch.h for struct klp_callbacks.
Commit dd590d4d57 ("objtool/klp: Introduce klp diff subcommand for
diffing object files") moved the structure and its kernel-doc comment
to include/linux/livepatch_external.h. Since then the Object Types
section renders the other four structures but not klp_callbacks.

Add a directive for the new header.

Fixes: dd590d4d57 ("objtool/klp: Introduce klp diff subcommand for diffing object files")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260905085438.40349-1-kmehltretter@gmail.com>
2026-09-07 09:47:56 -06:00

34 lines
585 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0
=================
Livepatching APIs
=================
Livepatch Enablement
====================
.. kernel-doc:: kernel/livepatch/core.c
:export:
Shadow Variables
================
.. kernel-doc:: kernel/livepatch/shadow.c
:export:
System State Changes
====================
.. kernel-doc:: kernel/livepatch/state.c
:export:
Object Types
============
.. kernel-doc:: include/linux/livepatch.h
:identifiers: klp_patch klp_object klp_func klp_state
.. kernel-doc:: include/linux/livepatch_external.h
:identifiers: klp_callbacks