[PATCH 4/6] docs: move superh documentation under Documentation/arch/

From: Jonathan Corbet
Date: Thu Mar 23 2023 - 18:20:23 EST


Architecture-specific documentation is being moved into Documentation/arch/
as a way of cleaning up the top-level documentation directory and making
the docs hierarchy more closely match the source hierarchy. Move
Documentation/sh into arch/ and fix all in-tree references.

Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
Cc: Rich Felker <dalias@xxxxxxxx>
Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
---
Documentation/arch/index.rst | 2 +-
Documentation/{ => arch}/sh/booting.rst | 0
Documentation/{ => arch}/sh/features.rst | 0
Documentation/{ => arch}/sh/index.rst | 0
Documentation/{ => arch}/sh/new-machine.rst | 0
Documentation/{ => arch}/sh/register-banks.rst | 0
MAINTAINERS | 2 +-
arch/sh/Kconfig.cpu | 2 +-
8 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/{ => arch}/sh/booting.rst (100%)
rename Documentation/{ => arch}/sh/features.rst (100%)
rename Documentation/{ => arch}/sh/index.rst (100%)
rename Documentation/{ => arch}/sh/new-machine.rst (100%)
rename Documentation/{ => arch}/sh/register-banks.rst (100%)

diff --git a/Documentation/arch/index.rst b/Documentation/arch/index.rst
index 8ec614488bd2..792f58e30f25 100644
--- a/Documentation/arch/index.rst
+++ b/Documentation/arch/index.rst
@@ -22,7 +22,7 @@ implementation.
../powerpc/index
../riscv/index
../s390/index
- ../sh/index
+ sh/index
sparc/index
x86/index
xtensa/index
diff --git a/Documentation/sh/booting.rst b/Documentation/arch/sh/booting.rst
similarity index 100%
rename from Documentation/sh/booting.rst
rename to Documentation/arch/sh/booting.rst
diff --git a/Documentation/sh/features.rst b/Documentation/arch/sh/features.rst
similarity index 100%
rename from Documentation/sh/features.rst
rename to Documentation/arch/sh/features.rst
diff --git a/Documentation/sh/index.rst b/Documentation/arch/sh/index.rst
similarity index 100%
rename from Documentation/sh/index.rst
rename to Documentation/arch/sh/index.rst
diff --git a/Documentation/sh/new-machine.rst b/Documentation/arch/sh/new-machine.rst
similarity index 100%
rename from Documentation/sh/new-machine.rst
rename to Documentation/arch/sh/new-machine.rst
diff --git a/Documentation/sh/register-banks.rst b/Documentation/arch/sh/register-banks.rst
similarity index 100%
rename from Documentation/sh/register-banks.rst
rename to Documentation/arch/sh/register-banks.rst
diff --git a/MAINTAINERS b/MAINTAINERS
index 250df8cee463..cf4eb913ea12 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20125,7 +20125,7 @@ M: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
L: linux-sh@xxxxxxxxxxxxxxx
S: Maintained
Q: http://patchwork.kernel.org/project/linux-sh/list/
-F: Documentation/sh/
+F: Documentation/arch/sh/
F: arch/sh/
F: drivers/sh/

diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
index fff419f3d757..336c54369636 100644
--- a/arch/sh/Kconfig.cpu
+++ b/arch/sh/Kconfig.cpu
@@ -85,7 +85,7 @@ config CPU_HAS_SR_RB
that are lacking this bit must have another method in place for
accomplishing what is taken care of by the banked registers.

- See <file:Documentation/sh/register-banks.rst> for further
+ See <file:Documentation/arch/sh/register-banks.rst> for further
information on SR.RB and register banking in the kernel in general.

config CPU_HAS_PTEAEX
--
2.39.2