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 79F1AC2D0E9 for ; Mon, 30 Mar 2020 08:59:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4F40120658 for ; Mon, 30 Mar 2020 08:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729859AbgC3I7T (ORCPT ); Mon, 30 Mar 2020 04:59:19 -0400 Received: from mail.loongson.cn ([114.242.206.163]:33304 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728759AbgC3I7S (ORCPT ); Mon, 30 Mar 2020 04:59:18 -0400 Received: from kvm-dev1.localdomain (unknown [10.2.5.134]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Ax9unhtIFeIpkhAA--.22S2; Mon, 30 Mar 2020 16:59:13 +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 18/39] MIPS: ip27: Add header file path prefix Date: Mon, 30 Mar 2020 04:59:13 -0400 Message-Id: <1585558753-18285-1-git-send-email-maobibo@loongson.cn> X-Mailer: git-send-email 1.8.3.1 X-CM-TRANSID: AQAAf9Ax9unhtIFeIpkhAA--.22S2 X-Coremail-Antispam: 1UD129KBjvJXoW3XrW3Cr48KFW8uF4DWF1rZwb_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List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove header files from arch/mips/include/asm/mach-ip27 o arch/mips/sgi-ip27/include/mach Signed-off-by: bibo mao --- arch/mips/Kconfig | 1 + arch/mips/sgi-ip27/Platform | 2 +- .../asm/mach-ip27 => sgi-ip27/include/mach}/cpu-feature-overrides.h | 0 arch/mips/sgi-ip27/include/mach/ioremap.h | 2 ++ arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/irq.h | 0 .../asm/mach-ip27 => sgi-ip27/include/mach}/kernel-entry-init.h | 0 arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/kmalloc.h | 0 .../mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/mangle-port.h | 0 arch/mips/sgi-ip27/include/mach/mc146818rtc.h | 2 ++ arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/mmzone.h | 0 arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/spaces.h | 0 arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/topology.h | 0 arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/war.h | 0 13 files changed, 6 insertions(+), 1 deletion(-) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/cpu-feature-overrides.h (100%) create mode 100644 arch/mips/sgi-ip27/include/mach/ioremap.h rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/irq.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/kernel-entry-init.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/kmalloc.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/mangle-port.h (100%) create mode 100644 arch/mips/sgi-ip27/include/mach/mc146818rtc.h rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/mmzone.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/spaces.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/topology.h (100%) rename arch/mips/{include/asm/mach-ip27 => sgi-ip27/include/mach}/war.h (100%) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index aad4a68..48fd625 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -735,6 +735,7 @@ config SGI_IP27 select SYS_SUPPORTS_NUMA select SYS_SUPPORTS_SMP select MIPS_L1_CACHE_SHIFT_7 + select HAVE_MACH_HEAD_FILES help This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics workstations. To compile a Linux kernel that runs on these, say Y diff --git a/arch/mips/sgi-ip27/Platform b/arch/mips/sgi-ip27/Platform index 1fb9c2e..5d37446 100644 --- a/arch/mips/sgi-ip27/Platform +++ b/arch/mips/sgi-ip27/Platform @@ -7,7 +7,7 @@ # ifdef CONFIG_SGI_IP27 platform-$(CONFIG_SGI_IP27) += sgi-ip27/ -cflags-$(CONFIG_SGI_IP27) += -I$(srctree)/arch/mips/include/asm/mach-ip27 +cflags-$(CONFIG_SGI_IP27) += -I$(srctree)/arch/mips/sgi-ip27/include ifdef CONFIG_MAPPED_KERNEL load-$(CONFIG_SGI_IP27) += 0xc00000004001c000 OBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 diff --git a/arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h b/arch/mips/sgi-ip27/include/mach/cpu-feature-overrides.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h rename to arch/mips/sgi-ip27/include/mach/cpu-feature-overrides.h diff --git a/arch/mips/sgi-ip27/include/mach/ioremap.h b/arch/mips/sgi-ip27/include/mach/ioremap.h new file mode 100644 index 0000000..2369393 --- /dev/null +++ b/arch/mips/sgi-ip27/include/mach/ioremap.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip27/irq.h b/arch/mips/sgi-ip27/include/mach/irq.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/irq.h rename to arch/mips/sgi-ip27/include/mach/irq.h diff --git a/arch/mips/include/asm/mach-ip27/kernel-entry-init.h b/arch/mips/sgi-ip27/include/mach/kernel-entry-init.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/kernel-entry-init.h rename to arch/mips/sgi-ip27/include/mach/kernel-entry-init.h diff --git a/arch/mips/include/asm/mach-ip27/kmalloc.h b/arch/mips/sgi-ip27/include/mach/kmalloc.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/kmalloc.h rename to arch/mips/sgi-ip27/include/mach/kmalloc.h diff --git a/arch/mips/include/asm/mach-ip27/mangle-port.h b/arch/mips/sgi-ip27/include/mach/mangle-port.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/mangle-port.h rename to arch/mips/sgi-ip27/include/mach/mangle-port.h diff --git a/arch/mips/sgi-ip27/include/mach/mc146818rtc.h b/arch/mips/sgi-ip27/include/mach/mc146818rtc.h new file mode 100644 index 0000000..7284af8 --- /dev/null +++ b/arch/mips/sgi-ip27/include/mach/mc146818rtc.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include diff --git a/arch/mips/include/asm/mach-ip27/mmzone.h b/arch/mips/sgi-ip27/include/mach/mmzone.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/mmzone.h rename to arch/mips/sgi-ip27/include/mach/mmzone.h diff --git a/arch/mips/include/asm/mach-ip27/spaces.h b/arch/mips/sgi-ip27/include/mach/spaces.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/spaces.h rename to arch/mips/sgi-ip27/include/mach/spaces.h diff --git a/arch/mips/include/asm/mach-ip27/topology.h b/arch/mips/sgi-ip27/include/mach/topology.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/topology.h rename to arch/mips/sgi-ip27/include/mach/topology.h diff --git a/arch/mips/include/asm/mach-ip27/war.h b/arch/mips/sgi-ip27/include/mach/war.h similarity index 100% rename from arch/mips/include/asm/mach-ip27/war.h rename to arch/mips/sgi-ip27/include/mach/war.h -- 1.8.3.1