Message ID | 1604137179-29537-1-git-send-email-Julia.Lawall@inria.fr (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | Documentation: PM: correct path name | expand |
On Sat, Oct 31, 2020 at 11:23 AM Julia Lawall <Julia.Lawall@inria.fr> wrote: > > cpu/ is needed before cpu<N>/ > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> > > --- > Documentation/admin-guide/pm/cpuidle.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/admin-guide/pm/cpuidle.rst b/Documentation/admin-guide/pm/cpuidle.rst > index 37940a0584ec..26a9d648b88c 100644 > --- a/Documentation/admin-guide/pm/cpuidle.rst > +++ b/Documentation/admin-guide/pm/cpuidle.rst > @@ -478,7 +478,7 @@ order to ask the hardware to enter that state. Also, for each > statistics of the given idle state. That information is exposed by the kernel > via ``sysfs``. > > -For each CPU in the system, there is a :file:`/sys/devices/system/cpu<N>/cpuidle/` > +For each CPU in the system, there is a :file:`/sys/devices/system/cpu/cpu<N>/cpuidle/` > directory in ``sysfs``, where the number ``<N>`` is assigned to the given > CPU at the initialization time. That directory contains a set of subdirectories > called :file:`state0`, :file:`state1` and so on, up to the number of idle state Applied as 5,10-rc material, thanks!
diff --git a/Documentation/admin-guide/pm/cpuidle.rst b/Documentation/admin-guide/pm/cpuidle.rst index 37940a0584ec..26a9d648b88c 100644 --- a/Documentation/admin-guide/pm/cpuidle.rst +++ b/Documentation/admin-guide/pm/cpuidle.rst @@ -478,7 +478,7 @@ order to ask the hardware to enter that state. Also, for each statistics of the given idle state. That information is exposed by the kernel via ``sysfs``. -For each CPU in the system, there is a :file:`/sys/devices/system/cpu<N>/cpuidle/` +For each CPU in the system, there is a :file:`/sys/devices/system/cpu/cpu<N>/cpuidle/` directory in ``sysfs``, where the number ``<N>`` is assigned to the given CPU at the initialization time. That directory contains a set of subdirectories called :file:`state0`, :file:`state1` and so on, up to the number of idle state
cpu/ is needed before cpu<N>/ Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> --- Documentation/admin-guide/pm/cpuidle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)