lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1585558833-12425-1-git-send-email-maobibo@loongson.cn>
Date:   Mon, 30 Mar 2020 05:00:33 -0400
From:   bibo mao <maobibo@...ngson.cn>
To:     Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        Huacai Chen <chenhc@...ote.com>
Cc:     linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 31/39] MIPS: sibyte: Add header file path prefix

Remove header files from arch/mips/include/asm/mach-sibyte
to arch/mips/sibyte/include/mach

Signed-off-by: bibo mao <maobibo@...ngson.cn>
---
 arch/mips/sibyte/Platform                                         | 8 ++++----
 .../mach-sibyte => sibyte/include/mach}/cpu-feature-overrides.h   | 0
 arch/mips/sibyte/include/mach/ide.h                               | 2 ++
 arch/mips/sibyte/include/mach/ioremap.h                           | 2 ++
 arch/mips/sibyte/include/mach/irq.h                               | 2 ++
 arch/mips/sibyte/include/mach/kernel-entry-init.h                 | 2 ++
 arch/mips/sibyte/include/mach/kmalloc.h                           | 2 ++
 arch/mips/sibyte/include/mach/mangle-port.h                       | 2 ++
 arch/mips/sibyte/include/mach/mc146818rtc.h                       | 2 ++
 arch/mips/sibyte/include/mach/spaces.h                            | 2 ++
 arch/mips/sibyte/include/mach/topology.h                          | 2 ++
 arch/mips/{include/asm/mach-sibyte => sibyte/include/mach}/war.h  | 0
 12 files changed, 22 insertions(+), 4 deletions(-)
 rename arch/mips/{include/asm/mach-sibyte => sibyte/include/mach}/cpu-feature-overrides.h (100%)
 create mode 100644 arch/mips/sibyte/include/mach/ide.h
 create mode 100644 arch/mips/sibyte/include/mach/ioremap.h
 create mode 100644 arch/mips/sibyte/include/mach/irq.h
 create mode 100644 arch/mips/sibyte/include/mach/kernel-entry-init.h
 create mode 100644 arch/mips/sibyte/include/mach/kmalloc.h
 create mode 100644 arch/mips/sibyte/include/mach/mangle-port.h
 create mode 100644 arch/mips/sibyte/include/mach/mc146818rtc.h
 create mode 100644 arch/mips/sibyte/include/mach/spaces.h
 create mode 100644 arch/mips/sibyte/include/mach/topology.h
 rename arch/mips/{include/asm/mach-sibyte => sibyte/include/mach}/war.h (100%)

diff --git a/arch/mips/sibyte/Platform b/arch/mips/sibyte/Platform
index af11733..8b5c39e 100644
--- a/arch/mips/sibyte/Platform
+++ b/arch/mips/sibyte/Platform
@@ -10,19 +10,19 @@ platform-$(CONFIG_SIBYTE_BCM1x80)	+= sibyte/
 # Sibyte SB1250 / BCM1480 family of SOCs
 #
 cflags-$(CONFIG_SIBYTE_BCM112X) +=					\
-		-I$(srctree)/arch/mips/include/asm/mach-sibyte		\
+		-I$(srctree)/arch/mips/sibyte/include			\
 		-DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL
 
 cflags-$(CONFIG_SIBYTE_SB1250)	+=					\
-		-I$(srctree)/arch/mips/include/asm/mach-sibyte		\
+		-I$(srctree)/arch/mips/sibyte/include			\
 		-DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL
 
 cflags-$(CONFIG_SIBYTE_BCM1x55) +=					\
-		-I$(srctree)/arch/mips/include/asm/mach-sibyte		\
+		-I$(srctree)/arch/mips/sibyte/include			\
 		-DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL
 
 cflags-$(CONFIG_SIBYTE_BCM1x80) +=					\
-		-I$(srctree)/arch/mips/include/asm/mach-sibyte		\
+		-I$(srctree)/arch/mips/sibyte/include			\
 		-DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL
 
 #
diff --git a/arch/mips/include/asm/mach-sibyte/cpu-feature-overrides.h b/arch/mips/sibyte/include/mach/cpu-feature-overrides.h
similarity index 100%
rename from arch/mips/include/asm/mach-sibyte/cpu-feature-overrides.h
rename to arch/mips/sibyte/include/mach/cpu-feature-overrides.h
diff --git a/arch/mips/sibyte/include/mach/ide.h b/arch/mips/sibyte/include/mach/ide.h
new file mode 100644
index 0000000..1251c0c
--- /dev/null
+++ b/arch/mips/sibyte/include/mach/ide.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ide.h>
diff --git a/arch/mips/sibyte/include/mach/ioremap.h b/arch/mips/sibyte/include/mach/ioremap.h
new file mode 100644
index 0000000..2369393
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/irq.h b/arch/mips/sibyte/include/mach/irq.h
new file mode 100644
index 0000000..bb5ccce
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/kernel-entry-init.h b/arch/mips/sibyte/include/mach/kernel-entry-init.h
new file mode 100644
index 0000000..19b872be
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/kmalloc.h b/arch/mips/sibyte/include/mach/kmalloc.h
new file mode 100644
index 0000000..4f056db
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/mangle-port.h b/arch/mips/sibyte/include/mach/mangle-port.h
new file mode 100644
index 0000000..b9736e3
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/mc146818rtc.h b/arch/mips/sibyte/include/mach/mc146818rtc.h
new file mode 100644
index 0000000..7284af8
--- /dev/null
+++ b/arch/mips/sibyte/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/sibyte/include/mach/spaces.h b/arch/mips/sibyte/include/mach/spaces.h
new file mode 100644
index 0000000..39a4d72
--- /dev/null
+++ b/arch/mips/sibyte/include/mach/spaces.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/spaces.h>
diff --git a/arch/mips/sibyte/include/mach/topology.h b/arch/mips/sibyte/include/mach/topology.h
new file mode 100644
index 0000000..86e585b
--- /dev/null
+++ b/arch/mips/sibyte/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-sibyte/war.h b/arch/mips/sibyte/include/mach/war.h
similarity index 100%
rename from arch/mips/include/asm/mach-sibyte/war.h
rename to arch/mips/sibyte/include/mach/war.h
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ