From 51712e49b434950b6317188f88696556c277b10d Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Mon, 17 Jul 2023 22:24:27 +0300 Subject: [PATCH] docs: move loongarch under arch 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 Acked-by: Huacai Chen Reviewed-by: Yanteng Si Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20230717192456.453124-1-costa.shul@redhat.com --- 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 +- Documentation/translations/zh_CN/{ => arch}/loongarch/booting.rst | 4 ++-- Documentation/translations/zh_CN/{ => arch}/loongarch/features.rst | 4 ++-- Documentation/translations/zh_CN/{ => arch}/loongarch/index.rst | 4 ++-- .../translations/zh_CN/{ => arch}/loongarch/introduction.rst | 4 ++-- .../translations/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%) diff --git a/Documentation/arch/index.rst b/Documentation/arch/index.rst index 8458b88..4b6b1be 100644 --- a/Documentation/arch/index.rst +++ b/Documentation/arch/index.rst @@ -13,7 +13,7 @@ implementation. arm/index arm64/index ia64/index - ../loongarch/index + loongarch/index m68k/index ../mips/index nios2/index diff --git a/Documentation/loongarch/booting.rst b/Documentation/arch/loongarch/booting.rst similarity index 100% rename from Documentation/loongarch/booting.rst rename to Documentation/arch/loongarch/booting.rst diff --git a/Documentation/loongarch/features.rst b/Documentation/arch/loongarch/features.rst similarity index 100% rename from Documentation/loongarch/features.rst rename to Documentation/arch/loongarch/features.rst diff --git a/Documentation/loongarch/index.rst b/Documentation/arch/loongarch/index.rst similarity index 100% rename from Documentation/loongarch/index.rst rename to Documentation/arch/loongarch/index.rst diff --git a/Documentation/loongarch/introduction.rst b/Documentation/arch/loongarch/introduction.rst similarity index 100% rename from Documentation/loongarch/introduction.rst rename to Documentation/arch/loongarch/introduction.rst diff --git a/Documentation/loongarch/irq-chip-model.rst b/Documentation/arch/loongarch/irq-chip-model.rst similarity index 100% rename from Documentation/loongarch/irq-chip-model.rst rename to Documentation/arch/loongarch/irq-chip-model.rst diff --git a/Documentation/translations/zh_CN/arch/index.rst b/Documentation/translations/zh_CN/arch/index.rst index 6fa0cb6..d4c1c72 100644 --- a/Documentation/translations/zh_CN/arch/index.rst +++ b/Documentation/translations/zh_CN/arch/index.rst @@ -13,7 +13,7 @@ ../riscv/index openrisc/index parisc/index - ../loongarch/index + loongarch/index TODOList: diff --git a/Documentation/translations/zh_CN/loongarch/booting.rst b/Documentation/translations/zh_CN/arch/loongarch/booting.rst similarity index 94% rename from Documentation/translations/zh_CN/loongarch/booting.rst rename to Documentation/translations/zh_CN/arch/loongarch/booting.rst index fb6440c..d2f5587 100644 --- a/Documentation/translations/zh_CN/loongarch/booting.rst +++ b/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 :翻译: diff --git a/Documentation/translations/zh_CN/loongarch/features.rst b/Documentation/translations/zh_CN/arch/loongarch/features.rst similarity index 61% rename from Documentation/translations/zh_CN/loongarch/features.rst rename to Documentation/translations/zh_CN/arch/loongarch/features.rst index 3886e63..82bfac1 100644 --- a/Documentation/translations/zh_CN/loongarch/features.rst +++ b/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 .. kernel-feat:: $srctree/Documentation/features loongarch diff --git a/Documentation/translations/zh_CN/loongarch/index.rst b/Documentation/translations/zh_CN/arch/loongarch/index.rst similarity index 78% rename from Documentation/translations/zh_CN/loongarch/index.rst rename to Documentation/translations/zh_CN/arch/loongarch/index.rst index 0273a08..4bd24f5 100644 --- a/Documentation/translations/zh_CN/loongarch/index.rst +++ b/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 ================= diff --git a/Documentation/translations/zh_CN/loongarch/introduction.rst b/Documentation/translations/zh_CN/arch/loongarch/introduction.rst similarity index 99% rename from Documentation/translations/zh_CN/loongarch/introduction.rst rename to Documentation/translations/zh_CN/arch/loongarch/introduction.rst index 470c38a..cba04be 100644 --- a/Documentation/translations/zh_CN/loongarch/introduction.rst +++ b/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 ============= diff --git a/Documentation/translations/zh_CN/loongarch/irq-chip-model.rst b/Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst 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 index fb5d23b..f1e9ab1 100644 --- a/Documentation/translations/zh_CN/loongarch/irq-chip-model.rst +++ b/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 ================================== diff --git a/MAINTAINERS b/MAINTAINERS index 66582e3..e481db8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12232,8 +12232,8 @@ R: WANG Xuerui 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* diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 09e422d..b2192f6 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -566,7 +566,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/loongarch/irq-chip-model.rst. config LOONGSON_LIOINTC bool "Loongson Local I/O Interrupt Controller" -- 2.7.4