From: bibo mao <maobibo@loongson.cn>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Huacai Chen <chenhc@lemote.com>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 17/39] MIPS: ip28: Add header file path prefix
Date: Mon, 30 Mar 2020 04:59:07 -0400 [thread overview]
Message-ID: <1585558747-13522-1-git-send-email-maobibo@loongson.cn> (raw)
Remove header files from arch/mips/include/asm/mach-ip28
to arch/mips/sgi-ip22/ip28/include/mach
Signed-off-by: bibo mao <maobibo@loongson.cn>
---
arch/mips/Kconfig | 1 +
arch/mips/sgi-ip22/Platform | 2 +-
.../mach-ip28 => sgi-ip22/ip28/include/mach}/cpu-feature-overrides.h | 0
arch/mips/sgi-ip22/ip28/include/mach/ioremap.h | 2 ++
arch/mips/sgi-ip22/ip28/include/mach/irq.h | 2 ++
arch/mips/sgi-ip22/ip28/include/mach/kernel-entry-init.h | 2 ++
arch/mips/sgi-ip22/ip28/include/mach/kmalloc.h | 2 ++
arch/mips/sgi-ip22/ip28/include/mach/mangle-port.h | 2 ++
arch/mips/sgi-ip22/ip28/include/mach/mc146818rtc.h | 2 ++
.../mips/{include/asm/mach-ip28 => sgi-ip22/ip28/include/mach}/spaces.h | 0
arch/mips/sgi-ip22/ip28/include/mach/topology.h | 2 ++
arch/mips/{include/asm/mach-ip28 => sgi-ip22/ip28/include/mach}/war.h | 0
12 files changed, 16 insertions(+), 1 deletion(-)
rename arch/mips/{include/asm/mach-ip28 => sgi-ip22/ip28/include/mach}/cpu-feature-overrides.h (100%)
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/ioremap.h
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/irq.h
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/kernel-entry-init.h
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/kmalloc.h
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/mangle-port.h
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/mc146818rtc.h
rename arch/mips/{include/asm/mach-ip28 => sgi-ip22/ip28/include/mach}/spaces.h (100%)
create mode 100644 arch/mips/sgi-ip22/ip28/include/mach/topology.h
rename arch/mips/{include/asm/mach-ip28 => sgi-ip22/ip28/include/mach}/war.h (100%)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d394542..aad4a68 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -769,6 +769,7 @@ config SGI_IP28
select SYS_SUPPORTS_64BIT_KERNEL
select SYS_SUPPORTS_BIG_ENDIAN
select MIPS_L1_CACHE_SHIFT_7
+ select HAVE_MACH_HEAD_FILES
help
This is the SGI Indigo2 with R10000 processor. To compile a Linux
kernel that runs on these, say Y here.
diff --git a/arch/mips/sgi-ip22/Platform b/arch/mips/sgi-ip22/Platform
index 539b305..ef1db85 100644
--- a/arch/mips/sgi-ip22/Platform
+++ b/arch/mips/sgi-ip22/Platform
@@ -30,5 +30,5 @@ ifdef CONFIG_SGI_IP28
endif
endif
platform-$(CONFIG_SGI_IP28) += sgi-ip22/
-cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
+cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/sgi-ip22/ip28/include
load-$(CONFIG_SGI_IP28) += 0xa800000020004000
diff --git a/arch/mips/include/asm/mach-ip28/cpu-feature-overrides.h b/arch/mips/sgi-ip22/ip28/include/mach/cpu-feature-overrides.h
similarity index 100%
rename from arch/mips/include/asm/mach-ip28/cpu-feature-overrides.h
rename to arch/mips/sgi-ip22/ip28/include/mach/cpu-feature-overrides.h
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/ioremap.h b/arch/mips/sgi-ip22/ip28/include/mach/ioremap.h
new file mode 100644
index 0000000..2369393
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/ioremap.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ioremap.h>
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/irq.h b/arch/mips/sgi-ip22/ip28/include/mach/irq.h
new file mode 100644
index 0000000..bb5ccce
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/irq.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/irq.h>
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/kernel-entry-init.h b/arch/mips/sgi-ip22/ip28/include/mach/kernel-entry-init.h
new file mode 100644
index 0000000..19b872be
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/kernel-entry-init.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kernel-entry-init.h>
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/kmalloc.h b/arch/mips/sgi-ip22/ip28/include/mach/kmalloc.h
new file mode 100644
index 0000000..4f056db
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/kmalloc.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kmalloc.h>
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/mangle-port.h b/arch/mips/sgi-ip22/ip28/include/mach/mangle-port.h
new file mode 100644
index 0000000..b9736e3
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/mangle-port.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mangle-port.h>
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/mc146818rtc.h b/arch/mips/sgi-ip22/ip28/include/mach/mc146818rtc.h
new file mode 100644
index 0000000..7284af8
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/mc146818rtc.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mc146818rtc.h>
diff --git a/arch/mips/include/asm/mach-ip28/spaces.h b/arch/mips/sgi-ip22/ip28/include/mach/spaces.h
similarity index 100%
rename from arch/mips/include/asm/mach-ip28/spaces.h
rename to arch/mips/sgi-ip22/ip28/include/mach/spaces.h
diff --git a/arch/mips/sgi-ip22/ip28/include/mach/topology.h b/arch/mips/sgi-ip22/ip28/include/mach/topology.h
new file mode 100644
index 0000000..86e585b
--- /dev/null
+++ b/arch/mips/sgi-ip22/ip28/include/mach/topology.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/topology.h>
diff --git a/arch/mips/include/asm/mach-ip28/war.h b/arch/mips/sgi-ip22/ip28/include/mach/war.h
similarity index 100%
rename from arch/mips/include/asm/mach-ip28/war.h
rename to arch/mips/sgi-ip22/ip28/include/mach/war.h
--
1.8.3.1
reply other threads:[~2020-03-30 8:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585558747-13522-1-git-send-email-maobibo@loongson.cn \
--to=maobibo@loongson.cn \
--cc=chenhc@lemote.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).