From patchwork Wed May 30 16:41:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 922891 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40wxKx1zlcz9s0q for ; Thu, 31 May 2018 02:45:41 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40wxKx0nlXzDr69 for ; Thu, 31 May 2018 02:45:41 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=c-s.fr (client-ip=93.17.236.30; helo=pegase1.c-s.fr; envelope-from=christophe.leroy@c-s.fr; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40wxFV6HB5zDr5J for ; Thu, 31 May 2018 02:41:49 +1000 (AEST) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 40wxFM4pPqz9twn3; Wed, 30 May 2018 18:41:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id OvxkUWHqbgHm; Wed, 30 May 2018 18:41:43 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 40wxFM4KkMz9twmw; Wed, 30 May 2018 18:41:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9CED58BB73; Wed, 30 May 2018 18:41:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id nhqZDPwFJ9di; Wed, 30 May 2018 18:41:44 +0200 (CEST) Received: from po14934vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 65CC78BB65; Wed, 30 May 2018 18:41:44 +0200 (CEST) Received: by po14934vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 310D76F704; Wed, 30 May 2018 16:41:43 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [RFC PATCH 0/8] Remove unneccessary included headers To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Date: Wed, 30 May 2018 16:41:43 +0000 (UTC) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The purpose of this serie is to limit the number of includes to only the necessary ones in order to reduce the number of files recompiled everytime a header file is modified. This is the start of the work, please provide feedback if any so that I don't go in the wrong direction. Christophe Leroy (8): powerpc: remove kdump.h from page.h powerpc: remove unneeded inclusions of cpu_has_feature.h powerpc: remove superflous inclusions of asm-compat.h powerpc: remove superflous inclusions of asm/feature-fixups.h powerpc: remove superflous inclusions of asm/fixmap.h powerpc: declare set_breakpoint() static powerpc/book3s: Remove PPC_PIN_SIZE powerpc: fix includes in asm/processor.h arch/powerpc/include/asm/book3s/32/pgtable.h | 5 ----- arch/powerpc/include/asm/cacheflush.h | 1 - arch/powerpc/include/asm/cputable.h | 2 -- arch/powerpc/include/asm/cputime.h | 1 - arch/powerpc/include/asm/dbell.h | 1 - arch/powerpc/include/asm/debug.h | 1 - arch/powerpc/include/asm/dt_cpu_ftrs.h | 3 --- arch/powerpc/include/asm/feature-fixups.h | 2 ++ arch/powerpc/include/asm/firmware.h | 1 - arch/powerpc/include/asm/fixmap.h | 2 -- arch/powerpc/include/asm/hw_breakpoint.h | 1 + arch/powerpc/include/asm/mmu.h | 1 - arch/powerpc/include/asm/nohash/32/pgtable.h | 2 +- arch/powerpc/include/asm/page.h | 1 - arch/powerpc/include/asm/ppc-opcode.h | 1 - arch/powerpc/include/asm/processor.h | 5 ++--- arch/powerpc/include/asm/reg.h | 1 + arch/powerpc/kernel/head_8xx.S | 1 - arch/powerpc/kernel/process.c | 14 +++++++------- arch/powerpc/kernel/setup_32.c | 1 + arch/powerpc/kernel/vdso.c | 1 - arch/powerpc/mm/dump_hashpagetable.c | 1 - arch/powerpc/sysdev/cpm_common.c | 1 - 23 files changed, 15 insertions(+), 35 deletions(-)