Re: [PATCH 26/27] Documentation: x86: convert x86_64/cpu-hotplug-spec to reST

From: Mauro Carvalho Chehab
Date: Sat Apr 27 2019 - 14:40:44 EST


Em Fri, 26 Apr 2019 23:31:49 +0800
Changbin Du <changbin.du@xxxxxxxxx> escreveu:

> This converts the plain text documentation to reStructuredText format and
> add it to Sphinx TOC tree. No essential content change.
>
> Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx>
> ---
> .../x86/x86_64/{cpu-hotplug-spec => cpu-hotplug-spec.rst} | 5 ++++-
> Documentation/x86/x86_64/index.rst | 1 +
> 2 files changed, 5 insertions(+), 1 deletion(-)
> rename Documentation/x86/x86_64/{cpu-hotplug-spec => cpu-hotplug-spec.rst} (88%)
>
> diff --git a/Documentation/x86/x86_64/cpu-hotplug-spec b/Documentation/x86/x86_64/cpu-hotplug-spec.rst
> similarity index 88%
> rename from Documentation/x86/x86_64/cpu-hotplug-spec
> rename to Documentation/x86/x86_64/cpu-hotplug-spec.rst
> index 3c23e0587db3..8d1c91f0c880 100644
> --- a/Documentation/x86/x86_64/cpu-hotplug-spec
> +++ b/Documentation/x86/x86_64/cpu-hotplug-spec.rst
> @@ -1,5 +1,8 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +===================================================
> Firmware support for CPU hotplug under Linux/x86-64
> ----------------------------------------------------
> +===================================================

In thesis, nothing needs to change here, but IMO it is a good idea
to use the same markup on most document titles.

Anyway,

Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>

>
> Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to
> know in advance of boot time the maximum number of CPUs that could be plugged
> diff --git a/Documentation/x86/x86_64/index.rst b/Documentation/x86/x86_64/index.rst
> index e2a324cde671..c04b6eab3c76 100644
> --- a/Documentation/x86/x86_64/index.rst
> +++ b/Documentation/x86/x86_64/index.rst
> @@ -12,3 +12,4 @@ x86_64 Support
> mm
> 5level-paging
> fake-numa-for-cpusets
> + cpu-hotplug-spec



Thanks,
Mauro