diff options
Diffstat (limited to 'Documentation/cputopology.txt')
-rw-r--r-- | Documentation/cputopology.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/cputopology.txt b/Documentation/cputopology.txt index ff280e2e1613..2b28e9ec4e3a 100644 --- a/Documentation/cputopology.txt +++ b/Documentation/cputopology.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | Export cpu topology info by sysfs. Items (attributes) are similar | 2 | Export cpu topology info via sysfs. Items (attributes) are similar |
3 | to /proc/cpuinfo. | 3 | to /proc/cpuinfo. |
4 | 4 | ||
5 | 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id: | 5 | 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id: |
@@ -12,7 +12,7 @@ represent the thread siblings to cpu X in the same core; | |||
12 | represent the thread siblings to cpu X in the same physical package; | 12 | represent the thread siblings to cpu X in the same physical package; |
13 | 13 | ||
14 | To implement it in an architecture-neutral way, a new source file, | 14 | To implement it in an architecture-neutral way, a new source file, |
15 | driver/base/topology.c, is to export the 5 attributes. | 15 | drivers/base/topology.c, is to export the 4 attributes. |
16 | 16 | ||
17 | If one architecture wants to support this feature, it just needs to | 17 | If one architecture wants to support this feature, it just needs to |
18 | implement 4 defines, typically in file include/asm-XXX/topology.h. | 18 | implement 4 defines, typically in file include/asm-XXX/topology.h. |