2018-02-22 08:49:39

by Dou Liyang

[permalink] [raw]
Subject: [PATCH] x86/documentation: Document the correct function name

topology_sibling_cpumask() is the correct thread-related topology
information in the kernel.

S/topology_sibling_mask/topology_sibling_cpumask

Signed-off-by: Dou Liyang <[email protected]>
---
Documentation/x86/topology.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/x86/topology.txt b/Documentation/x86/topology.txt
index f3e9d7e9ed6c..2953e3ec9a02 100644
--- a/Documentation/x86/topology.txt
+++ b/Documentation/x86/topology.txt
@@ -108,7 +108,7 @@ The topology of a system is described in the units of:

The number of online threads is also printed in /proc/cpuinfo "siblings."

- - topology_sibling_mask():
+ - topology_sibling_cpumask():

The cpumask contains all online threads in the core to which a thread
belongs.
--
2.14.3





Subject: [tip:x86/urgent] x86/topology: Fix function name in documentation

Commit-ID: 0c52f7c5499dc708a64742da0cb7eb4f6d94588b
Gitweb: https://git.kernel.org/tip/0c52f7c5499dc708a64742da0cb7eb4f6d94588b
Author: Dou Liyang <[email protected]>
AuthorDate: Thu, 22 Feb 2018 16:48:12 +0800
Committer: Ingo Molnar <[email protected]>
CommitDate: Fri, 23 Feb 2018 08:40:12 +0100

x86/topology: Fix function name in documentation

topology_sibling_cpumask() is the correct thread-related topology
function in the kernel:

s/topology_sibling_mask/topology_sibling_cpumask

Signed-off-by: Dou Liyang <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
Documentation/x86/topology.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/x86/topology.txt b/Documentation/x86/topology.txt
index f3e9d7e9ed6c..2953e3ec9a02 100644
--- a/Documentation/x86/topology.txt
+++ b/Documentation/x86/topology.txt
@@ -108,7 +108,7 @@ The topology of a system is described in the units of:

The number of online threads is also printed in /proc/cpuinfo "siblings."

- - topology_sibling_mask():
+ - topology_sibling_cpumask():

The cpumask contains all online threads in the core to which a thread
belongs.