linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: futex: Fix kernel-doc references
@ 2021-10-12 13:55 André Almeida
  2021-10-19 13:20 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: André Almeida @ 2021-10-12 13:55 UTC (permalink / raw)
  To: Stephen Rothwell, Thomas Gleixner, Peter Zijlstra
  Cc: linux-kernel, linux-next, Ingo Molnar, H . Peter Anvin,
	Jonathan Corbet, André Almeida

Since the futex code was restructured, there's no futex.c file anymore
and the implementation is split in various files. Point kernel-doc
references to the new files.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
---
 Documentation/kernel-hacking/locking.rst           | 14 +++++++++++++-
 .../translations/it_IT/kernel-hacking/locking.rst  | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index 90bc3f51eda9..e6cd40663ea5 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -1352,7 +1352,19 @@ Mutex API reference
 Futex API reference
 ===================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Further reading
diff --git a/Documentation/translations/it_IT/kernel-hacking/locking.rst b/Documentation/translations/it_IT/kernel-hacking/locking.rst
index 1efb8293bf1f..163f1bd4e857 100644
--- a/Documentation/translations/it_IT/kernel-hacking/locking.rst
+++ b/Documentation/translations/it_IT/kernel-hacking/locking.rst
@@ -1396,7 +1396,19 @@ Riferimento per l'API dei Mutex
 Riferimento per l'API dei Futex
 ===============================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Approfondimenti
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: futex: Fix kernel-doc references
  2021-10-12 13:55 [PATCH] docs: futex: Fix kernel-doc references André Almeida
@ 2021-10-19 13:20 ` Peter Zijlstra
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2021-10-19 13:20 UTC (permalink / raw)
  To: André Almeida
  Cc: Stephen Rothwell, Thomas Gleixner, linux-kernel, linux-next,
	Ingo Molnar, H . Peter Anvin, Jonathan Corbet

On Tue, Oct 12, 2021 at 10:55:49AM -0300, André Almeida wrote:
> Since the futex code was restructured, there's no futex.c file anymore
> and the implementation is split in various files. Point kernel-doc
> references to the new files.
> 
> Signed-off-by: André Almeida <andrealmeid@collabora.com>

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-19 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 13:55 [PATCH] docs: futex: Fix kernel-doc references André Almeida
2021-10-19 13:20 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).