@@ -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
#
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
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ide.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ioremap.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/irq.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kernel-entry-init.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kmalloc.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mangle-port.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mc146818rtc.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/spaces.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/topology.h>
similarity index 100%
rename from arch/mips/include/asm/mach-sibyte/war.h
rename to arch/mips/sibyte/include/mach/war.h
Remove header files from arch/mips/include/asm/mach-sibyte to arch/mips/sibyte/include/mach Signed-off-by: bibo mao <maobibo@loongson.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%)