From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: [PATCH 17/25] powerpc: Use Kbuild infrastructure to handle asm-generic headers Date: Fri, 12 Oct 2012 22:26:49 -0400 Message-ID: <20121013022954.861437159@goodmis.org> References: <20121013022632.024527228@goodmis.org> Return-path: Content-Disposition: inline; filename=0017-powerpc-Use-Kbuild-infrastructure-to-handle-asm-gene.patch Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Andrew Morton , Benjamin Herrenschmidt , Paul Mackerras List-Id: linux-arch.vger.kernel.org From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbuild@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Steven Rostedt --- arch/powerpc/include/asm/Kbuild | 9 +++++++++ arch/powerpc/include/asm/div64.h | 1 - arch/powerpc/include/asm/emergency-restart.h | 1 - arch/powerpc/include/asm/irq_regs.h | 2 -- arch/powerpc/include/asm/local64.h | 1 - arch/powerpc/include/asm/param.h | 1 - arch/powerpc/include/asm/poll.h | 1 - arch/powerpc/include/asm/resource.h | 1 - arch/powerpc/include/asm/statfs.h | 6 ------ arch/powerpc/include/asm/xor.h | 1 - 10 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 arch/powerpc/include/asm/div64.h delete mode 100644 arch/powerpc/include/asm/emergency-restart.h delete mode 100644 arch/powerpc/include/asm/irq_regs.h delete mode 100644 arch/powerpc/include/asm/local64.h delete mode 100644 arch/powerpc/include/asm/param.h delete mode 100644 arch/powerpc/include/asm/poll.h delete mode 100644 arch/powerpc/include/asm/resource.h delete mode 100644 arch/powerpc/include/asm/statfs.h delete mode 100644 arch/powerpc/include/asm/xor.h diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild index ace53db..8ae0511 100644 --- a/arch/powerpc/include/asm/Kbuild +++ b/arch/powerpc/include/asm/Kbuild @@ -36,4 +36,13 @@ header-y += ucontext.h header-y += unistd.h generic-y += clkdev.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += irq_regs.h +generic-y += local64.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h generic-y += rwsem.h +generic-y += statfs.h +generic-y += xor.h diff --git a/arch/powerpc/include/asm/div64.h b/arch/powerpc/include/asm/div64.h deleted file mode 100644 index 6cd978c..0000000 --- a/arch/powerpc/include/asm/div64.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/emergency-restart.h b/arch/powerpc/include/asm/emergency-restart.h deleted file mode 100644 index 3711bd9..0000000 --- a/arch/powerpc/include/asm/emergency-restart.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/irq_regs.h b/arch/powerpc/include/asm/irq_regs.h deleted file mode 100644 index ba94b51..0000000 --- a/arch/powerpc/include/asm/irq_regs.h +++ /dev/null @@ -1,2 +0,0 @@ -#include - diff --git a/arch/powerpc/include/asm/local64.h b/arch/powerpc/include/asm/local64.h deleted file mode 100644 index 36c93b5..0000000 --- a/arch/powerpc/include/asm/local64.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/param.h b/arch/powerpc/include/asm/param.h deleted file mode 100644 index 965d454..0000000 --- a/arch/powerpc/include/asm/param.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/poll.h b/arch/powerpc/include/asm/poll.h deleted file mode 100644 index c98509d..0000000 --- a/arch/powerpc/include/asm/poll.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/resource.h b/arch/powerpc/include/asm/resource.h deleted file mode 100644 index 04bc4db..0000000 --- a/arch/powerpc/include/asm/resource.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/statfs.h b/arch/powerpc/include/asm/statfs.h deleted file mode 100644 index 5244834..0000000 --- a/arch/powerpc/include/asm/statfs.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _ASM_POWERPC_STATFS_H -#define _ASM_POWERPC_STATFS_H - -#include - -#endif diff --git a/arch/powerpc/include/asm/xor.h b/arch/powerpc/include/asm/xor.h deleted file mode 100644 index c82eb12..0000000 --- a/arch/powerpc/include/asm/xor.h +++ /dev/null @@ -1 +0,0 @@ -#include -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:25008 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826Ab2JMC35 (ORCPT ); Fri, 12 Oct 2012 22:29:57 -0400 Message-ID: <20121013022954.861437159@goodmis.org> Date: Fri, 12 Oct 2012 22:26:49 -0400 From: Steven Rostedt Subject: [PATCH 17/25] powerpc: Use Kbuild infrastructure to handle asm-generic headers References: <20121013022632.024527228@goodmis.org> Content-Disposition: inline; filename=0017-powerpc-Use-Kbuild-infrastructure-to-handle-asm-gene.patch Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Andrew Morton , Benjamin Herrenschmidt , Paul Mackerras Message-ID: <20121013022649.fhz1vPuaObc3oLZObvETX8vwq-rPumfI09oWi1QgODI@z> From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbuild@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Steven Rostedt --- arch/powerpc/include/asm/Kbuild | 9 +++++++++ arch/powerpc/include/asm/div64.h | 1 - arch/powerpc/include/asm/emergency-restart.h | 1 - arch/powerpc/include/asm/irq_regs.h | 2 -- arch/powerpc/include/asm/local64.h | 1 - arch/powerpc/include/asm/param.h | 1 - arch/powerpc/include/asm/poll.h | 1 - arch/powerpc/include/asm/resource.h | 1 - arch/powerpc/include/asm/statfs.h | 6 ------ arch/powerpc/include/asm/xor.h | 1 - 10 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 arch/powerpc/include/asm/div64.h delete mode 100644 arch/powerpc/include/asm/emergency-restart.h delete mode 100644 arch/powerpc/include/asm/irq_regs.h delete mode 100644 arch/powerpc/include/asm/local64.h delete mode 100644 arch/powerpc/include/asm/param.h delete mode 100644 arch/powerpc/include/asm/poll.h delete mode 100644 arch/powerpc/include/asm/resource.h delete mode 100644 arch/powerpc/include/asm/statfs.h delete mode 100644 arch/powerpc/include/asm/xor.h diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild index ace53db..8ae0511 100644 --- a/arch/powerpc/include/asm/Kbuild +++ b/arch/powerpc/include/asm/Kbuild @@ -36,4 +36,13 @@ header-y += ucontext.h header-y += unistd.h generic-y += clkdev.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += irq_regs.h +generic-y += local64.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h generic-y += rwsem.h +generic-y += statfs.h +generic-y += xor.h diff --git a/arch/powerpc/include/asm/div64.h b/arch/powerpc/include/asm/div64.h deleted file mode 100644 index 6cd978c..0000000 --- a/arch/powerpc/include/asm/div64.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/emergency-restart.h b/arch/powerpc/include/asm/emergency-restart.h deleted file mode 100644 index 3711bd9..0000000 --- a/arch/powerpc/include/asm/emergency-restart.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/irq_regs.h b/arch/powerpc/include/asm/irq_regs.h deleted file mode 100644 index ba94b51..0000000 --- a/arch/powerpc/include/asm/irq_regs.h +++ /dev/null @@ -1,2 +0,0 @@ -#include - diff --git a/arch/powerpc/include/asm/local64.h b/arch/powerpc/include/asm/local64.h deleted file mode 100644 index 36c93b5..0000000 --- a/arch/powerpc/include/asm/local64.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/param.h b/arch/powerpc/include/asm/param.h deleted file mode 100644 index 965d454..0000000 --- a/arch/powerpc/include/asm/param.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/poll.h b/arch/powerpc/include/asm/poll.h deleted file mode 100644 index c98509d..0000000 --- a/arch/powerpc/include/asm/poll.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/resource.h b/arch/powerpc/include/asm/resource.h deleted file mode 100644 index 04bc4db..0000000 --- a/arch/powerpc/include/asm/resource.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/powerpc/include/asm/statfs.h b/arch/powerpc/include/asm/statfs.h deleted file mode 100644 index 5244834..0000000 --- a/arch/powerpc/include/asm/statfs.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _ASM_POWERPC_STATFS_H -#define _ASM_POWERPC_STATFS_H - -#include - -#endif diff --git a/arch/powerpc/include/asm/xor.h b/arch/powerpc/include/asm/xor.h deleted file mode 100644 index c82eb12..0000000 --- a/arch/powerpc/include/asm/xor.h +++ /dev/null @@ -1 +0,0 @@ -#include -- 1.7.10.4