Documentation: PM: correct path name
diff mbox series

Message ID 1604137179-29537-1-git-send-email-Julia.Lawall@inria.fr
State Accepted
Commit 23d18dcfc5275fbd53a515a4a1cf946b22fe7463
Headers show
Series
  • Documentation: PM: correct path name
Related show

Commit Message

Julia Lawall Oct. 31, 2020, 9:39 a.m. UTC
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(-)

Comments

Rafael J. Wysocki Nov. 2, 2020, 5:03 p.m. UTC | #1
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!

Patch
diff mbox series

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