mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[PATCH] trivial typos in Documentation/cputopology.txt
Fix a few trivial mistakes in Documentation/cputopology.txt Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
b791ccef21
commit
ded23ac627
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
Export cpu topology info by sysfs. Items (attributes) are similar
|
Export cpu topology info via sysfs. Items (attributes) are similar
|
||||||
to /proc/cpuinfo.
|
to /proc/cpuinfo.
|
||||||
|
|
||||||
1) /sys/devices/system/cpu/cpuX/topology/physical_package_id:
|
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;
|
||||||
represent the thread siblings to cpu X in the same physical package;
|
represent the thread siblings to cpu X in the same physical package;
|
||||||
|
|
||||||
To implement it in an architecture-neutral way, a new source file,
|
To implement it in an architecture-neutral way, a new source file,
|
||||||
driver/base/topology.c, is to export the 5 attributes.
|
drivers/base/topology.c, is to export the 4 attributes.
|
||||||
|
|
||||||
If one architecture wants to support this feature, it just needs to
|
If one architecture wants to support this feature, it just needs to
|
||||||
implement 4 defines, typically in file include/asm-XXX/topology.h.
|
implement 4 defines, typically in file include/asm-XXX/topology.h.
|
||||||
|
|
Loading…
Reference in a new issue