From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81B06C2D0EB for ; Mon, 30 Mar 2020 08:59:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 596EA20658 for ; Mon, 30 Mar 2020 08:59:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729869AbgC3I7Y (ORCPT ); Mon, 30 Mar 2020 04:59:24 -0400 Received: from mail.loongson.cn ([114.242.206.163]:33330 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728759AbgC3I7X (ORCPT ); Mon, 30 Mar 2020 04:59:23 -0400 Received: from kvm-dev1.localdomain (unknown [10.2.5.134]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxb2jntIFeI5khAA--.27S2; Mon, 30 Mar 2020 16:59:19 +0800 (CST) From: bibo mao To: Thomas Bogendoerfer , Jiaxun Yang , Huacai Chen Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 19/39] MIPS: ip30: Add header file path prefix Date: Mon, 30 Mar 2020 04:59:19 -0400 Message-Id: <1585558759-18419-1-git-send-email-maobibo@loongson.cn> X-Mailer: git-send-email 1.8.3.1 X-CM-TRANSID: AQAAf9Dxb2jntIFeI5khAA--.27S2 X-Coremail-Antispam: 1UD129KBjvJXoWxuw15tFy7AF15GFWfZrWrXwb_yoW7u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X-Mailing-List: linux-kernel@vger.kernel.org Remove header files from arch/mips/include/asm/mach-ip30 to arch/mips/sgi-ip30/include/mach Signed-off-by: bibo mao --- arch/mips/Kconfig | 1 + arch/mips/sgi-ip30/Platform | 2 +- .../asm/mach-ip30 => sgi-ip30/include/mach}/cpu-feature-overrides.h | 0 arch/mips/sgi-ip30/include/mach/ioremap.h | 2 ++ arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/irq.h | 0 .../asm/mach-ip30 => sgi-ip30/include/mach}/kernel-entry-init.h | 0 arch/mips/sgi-ip30/include/mach/kmalloc.h | 2 ++ .../mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/mangle-port.h | 0 arch/mips/sgi-ip30/include/mach/mc146818rtc.h | 2 ++ arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/spaces.h | 0 arch/mips/sgi-ip30/include/mach/topology.h | 2 ++ arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/war.h | 0 12 files changed, 10 insertions(+), 1 deletion(-) rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/cpu-feature-overrides.h (100%) create mode 100644 arch/mips/sgi-ip30/include/mach/ioremap.h rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/irq.h (100%) rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/kernel-entry-init.h (100%) create mode 100644 arch/mips/sgi-ip30/include/mach/kmalloc.h rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/mangle-port.h (100%) create mode 100644 arch/mips/sgi-ip30/include/mach/mc146818rtc.h rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/spaces.h (100%) create mode 100644 arch/mips/sgi-ip30/include/mach/topology.h rename arch/mips/{include/asm/mach-ip30 => sgi-ip30/include/mach}/war.h (100%) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 48fd625..6a6cf8c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -798,6 +798,7 @@ config SGI_IP30 select SYS_SUPPORTS_SMP select MIPS_L1_CACHE_SHIFT_7 select ARC_MEMORY + select HAVE_MACH_HEAD_FILES help These are the SGI Octane and Octane2 graphics workstations. To compile a Linux kernel that runs on these, say Y here. diff --git a/arch/mips/sgi-ip30/Platform b/arch/mips/sgi-ip30/Platform index 2b5695c..38433a5 100644 --- a/arch/mips/sgi-ip30/Platform +++ b/arch/mips/sgi-ip30/Platform @@ -3,6 +3,6 @@ # ifdef CONFIG_SGI_IP30 platform-$(CONFIG_SGI_IP30) += sgi-ip30/ -cflags-$(CONFIG_SGI_IP30) += -I$(srctree)/arch/mips/include/asm/mach-ip30 +cflags-$(CONFIG_SGI_IP30) += -I$(srctree)/arch/mips/sgi-ip30/include load-$(CONFIG_SGI_IP30) += 0xa800000020004000 endif diff --git a/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h b/arch/mips/sgi-ip30/include/mach/cpu-feature-overrides.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h rename to arch/mips/sgi-ip30/include/mach/cpu-feature-overrides.h diff --git a/arch/mips/sgi-ip30/include/mach/ioremap.h b/arch/mips/sgi-ip30/include/mach/ioremap.h new file mode 100644 index 0000000..2369393 --- /dev/null +++ b/arch/mips/sgi-ip30/include/mach/ioremap.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip30/irq.h b/arch/mips/sgi-ip30/include/mach/irq.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/irq.h rename to arch/mips/sgi-ip30/include/mach/irq.h diff --git a/arch/mips/include/asm/mach-ip30/kernel-entry-init.h b/arch/mips/sgi-ip30/include/mach/kernel-entry-init.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/kernel-entry-init.h rename to arch/mips/sgi-ip30/include/mach/kernel-entry-init.h diff --git a/arch/mips/sgi-ip30/include/mach/kmalloc.h b/arch/mips/sgi-ip30/include/mach/kmalloc.h new file mode 100644 index 0000000..4f056db --- /dev/null +++ b/arch/mips/sgi-ip30/include/mach/kmalloc.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip30/mangle-port.h b/arch/mips/sgi-ip30/include/mach/mangle-port.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/mangle-port.h rename to arch/mips/sgi-ip30/include/mach/mangle-port.h diff --git a/arch/mips/sgi-ip30/include/mach/mc146818rtc.h b/arch/mips/sgi-ip30/include/mach/mc146818rtc.h new file mode 100644 index 0000000..7284af8 --- /dev/null +++ b/arch/mips/sgi-ip30/include/mach/mc146818rtc.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip30/spaces.h b/arch/mips/sgi-ip30/include/mach/spaces.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/spaces.h rename to arch/mips/sgi-ip30/include/mach/spaces.h diff --git a/arch/mips/sgi-ip30/include/mach/topology.h b/arch/mips/sgi-ip30/include/mach/topology.h new file mode 100644 index 0000000..86e585b --- /dev/null +++ b/arch/mips/sgi-ip30/include/mach/topology.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip30/war.h b/arch/mips/sgi-ip30/include/mach/war.h similarity index 100% rename from arch/mips/include/asm/mach-ip30/war.h rename to arch/mips/sgi-ip30/include/mach/war.h -- 1.8.3.1