[v2] docs: move loongarch under arch
Commit Message
and fix all in-tree references.
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.
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
---
Changes:
- added fix of MAINTAINERS and drivers/irqchip/Kconfig
I'll continue with the rest architectures.
Thank you.
Documentation/arch/index.rst | 2 +-
Documentation/{ => arch}/loongarch/booting.rst | 0
Documentation/{ => arch}/loongarch/features.rst | 0
Documentation/{ => arch}/loongarch/index.rst | 0
Documentation/{ => arch}/loongarch/introduction.rst | 0
Documentation/{ => arch}/loongarch/irq-chip-model.rst | 0
Documentation/translations/zh_CN/arch/index.rst | 2 +-
.../translations/zh_CN/{ => arch}/loongarch/booting.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/features.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/index.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/introduction.rst | 4 ++--
.../zh_CN/{ => arch}/loongarch/irq-chip-model.rst | 4 ++--
MAINTAINERS | 4 ++--
drivers/irqchip/Kconfig | 2 +-
14 files changed, 15 insertions(+), 15 deletions(-)
rename Documentation/{ => arch}/loongarch/booting.rst (100%)
rename Documentation/{ => arch}/loongarch/features.rst (100%)
rename Documentation/{ => arch}/loongarch/index.rst (100%)
rename Documentation/{ => arch}/loongarch/introduction.rst (100%)
rename Documentation/{ => arch}/loongarch/irq-chip-model.rst (100%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/booting.rst (94%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/features.rst (61%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/index.rst (78%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/introduction.rst (99%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/irq-chip-model.rst (98%)
Comments
Costa Shulyupin <costa.shul@redhat.com> writes:
> and fix all in-tree references.
>
> 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.
>
> Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
> ---
>
> Changes:
> - added fix of MAINTAINERS and drivers/irqchip/Kconfig
Um ....
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index 4b9036c6d45b..5e54032f07c6 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -567,7 +567,7 @@ config IRQ_LOONGARCH_CPU
> help
> Support for the LoongArch CPU Interrupt Controller. For details of
> irq chip hierarchy on LoongArch platforms please read the document
> - Documentation/loongarch/irq-chip-model.rst.
> + Documentation/arch/oongarch/irq-chip-model.rst.
Can you please try to be a bit more careful than that?
Thanks,
jon
@@ -13,7 +13,7 @@ implementation.
arm/index
arm64/index
ia64/index
- ../loongarch/index
+ loongarch/index
m68k/index
../mips/index
nios2/index
similarity index 100%
rename from Documentation/loongarch/booting.rst
rename to Documentation/arch/loongarch/booting.rst
similarity index 100%
rename from Documentation/loongarch/features.rst
rename to Documentation/arch/loongarch/features.rst
similarity index 100%
rename from Documentation/loongarch/index.rst
rename to Documentation/arch/loongarch/index.rst
similarity index 100%
rename from Documentation/loongarch/introduction.rst
rename to Documentation/arch/loongarch/introduction.rst
similarity index 100%
rename from Documentation/loongarch/irq-chip-model.rst
rename to Documentation/arch/loongarch/irq-chip-model.rst
@@ -13,7 +13,7 @@
../riscv/index
openrisc/index
parisc/index
- ../loongarch/index
+ loongarch/index
TODOList:
similarity index 94%
rename from Documentation/translations/zh_CN/loongarch/booting.rst
rename to Documentation/translations/zh_CN/arch/loongarch/booting.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/booting.rst
+:Original: Documentation/arch/loongarch/booting.rst
:翻译:
similarity index 61%
rename from Documentation/translations/zh_CN/loongarch/features.rst
rename to Documentation/translations/zh_CN/arch/loongarch/features.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/features.rst
+:Original: Documentation/arch/loongarch/features.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
.. kernel-feat:: $srctree/Documentation/features loongarch
similarity index 78%
rename from Documentation/translations/zh_CN/loongarch/index.rst
rename to Documentation/translations/zh_CN/arch/loongarch/index.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/index.rst
+:Original: Documentation/arch/loongarch/index.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
=================
similarity index 99%
rename from Documentation/translations/zh_CN/loongarch/introduction.rst
rename to Documentation/translations/zh_CN/arch/loongarch/introduction.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/introduction.rst
+:Original: Documentation/arch/loongarch/introduction.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
=============
similarity index 98%
rename from Documentation/translations/zh_CN/loongarch/irq-chip-model.rst
rename to Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/irq-chip-model.rst
+:Original: Documentation/arch/loongarch/irq-chip-model.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
==================================
@@ -12282,8 +12282,8 @@ R: WANG Xuerui <kernel@xen0n.name>
L: loongarch@lists.linux.dev
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git
-F: Documentation/loongarch/
-F: Documentation/translations/zh_CN/loongarch/
+F: Documentation/arch/loongarch/
+F: Documentation/translations/zh_CN/arch/loongarch/
F: arch/loongarch/
F: drivers/*/*loongarch*
@@ -567,7 +567,7 @@ config IRQ_LOONGARCH_CPU
help
Support for the LoongArch CPU Interrupt Controller. For details of
irq chip hierarchy on LoongArch platforms please read the document
- Documentation/loongarch/irq-chip-model.rst.
+ Documentation/arch/oongarch/irq-chip-model.rst.
config LOONGSON_LIOINTC
bool "Loongson Local I/O Interrupt Controller"