Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751254AbWBMJkF (ORCPT ); Mon, 13 Feb 2006 04:40:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751257AbWBMJkF (ORCPT ); Mon, 13 Feb 2006 04:40:05 -0500 Received: from MAIL.13thfloor.at ([212.16.62.50]:6796 "EHLO mail.13thfloor.at") by vger.kernel.org with ESMTP id S1751254AbWBMJkB (ORCPT ); Mon, 13 Feb 2006 04:40:01 -0500 Date: Mon, 13 Feb 2006 10:39:59 +0100 From: Herbert Poetzl To: Andrew Morton Cc: Linux Kernel ML Subject: [PATCH] remove duplicate #includes Message-ID: <20060213093959.GA10496@MAIL.13thfloor.at> Mail-Followup-To: Andrew Morton , Linux Kernel ML Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 61524 Lines: 1501 Hi Andrew! Folks! recently I stumbled over a few files which #include the same .h file twice -- sometimes even in the immediately following line. so I thought I'd look into that to reduce the amount of duplicate includes in the kernel ... I first searched for 'potential' duplicates with the following command sequence ... find . -type f -name '*.[hcS]' -exec gawk '/^#include/ { X[$2]++ } END { for (n in X) if (X[n]>1) printf("%s: %s[%d]\n",FILENAME,n,X[n]); }' {} \; .. then, I inspected each of the results, and if it was valid, I removed every but the first occurence (of course only after detailed inspection) I will do a bunch of further tests with this patch to make absolutely 100% sure that there are no bad changes. the patch contains the obvious cases first, and the not so obvious ones at the end. best, Herbert Signed-off-by: Herbert P?tzl --- diff -NurpP --minimal linux-2.6.16-rc2/arch/alpha/kernel/setup.c linux-2.6.16-rc2-mpf/arch/alpha/kernel/setup.c --- linux-2.6.16-rc2/arch/alpha/kernel/setup.c 2005-06-22 02:37:51 +0200 +++ linux-2.6.16-rc2-mpf/arch/alpha/kernel/setup.c 2006-02-13 01:23:59 +0100 @@ -55,7 +55,6 @@ static struct notifier_block alpha_panic #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/arm/mach-iop3xx/iop321-setup.c linux-2.6.16-rc2-mpf/arch/arm/mach-iop3xx/iop321-setup.c --- linux-2.6.16-rc2/arch/arm/mach-iop3xx/iop321-setup.c 2006-02-07 11:52:06 +0100 +++ linux-2.6.16-rc2-mpf/arch/arm/mach-iop3xx/iop321-setup.c 2006-02-13 01:14:57 +0100 @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/arm/mach-iop3xx/iop331-setup.c linux-2.6.16-rc2-mpf/arch/arm/mach-iop3xx/iop331-setup.c --- linux-2.6.16-rc2/arch/arm/mach-iop3xx/iop331-setup.c 2006-02-07 11:52:06 +0100 +++ linux-2.6.16-rc2-mpf/arch/arm/mach-iop3xx/iop331-setup.c 2006-02-13 01:15:09 +0100 @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/arm/plat-omap/pm.c linux-2.6.16-rc2-mpf/arch/arm/plat-omap/pm.c --- linux-2.6.16-rc2/arch/arm/plat-omap/pm.c 2006-01-03 17:29:08 +0100 +++ linux-2.6.16-rc2-mpf/arch/arm/plat-omap/pm.c 2006-02-13 01:15:24 +0100 @@ -38,7 +38,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/arm26/kernel/armksyms.c linux-2.6.16-rc2-mpf/arch/arm26/kernel/armksyms.c --- linux-2.6.16-rc2/arch/arm26/kernel/armksyms.c 2006-02-07 11:52:07 +0100 +++ linux-2.6.16-rc2-mpf/arch/arm26/kernel/armksyms.c 2006-02-13 01:21:41 +0100 @@ -9,7 +9,6 @@ */ #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/cris/arch-v32/mm/init.c linux-2.6.16-rc2-mpf/arch/cris/arch-v32/mm/init.c --- linux-2.6.16-rc2/arch/cris/arch-v32/mm/init.c 2005-08-29 22:24:51 +0200 +++ linux-2.6.16-rc2-mpf/arch/cris/arch-v32/mm/init.c 2006-02-13 01:21:29 +0100 @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/i386/kernel/cpuid.c linux-2.6.16-rc2-mpf/arch/i386/kernel/cpuid.c --- linux-2.6.16-rc2/arch/i386/kernel/cpuid.c 2006-02-07 11:52:08 +0100 +++ linux-2.6.16-rc2-mpf/arch/i386/kernel/cpuid.c 2006-02-13 01:14:41 +0100 @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ia64/ia32/ia32priv.h linux-2.6.16-rc2-mpf/arch/ia64/ia32/ia32priv.h --- linux-2.6.16-rc2/arch/ia64/ia32/ia32priv.h 2006-01-03 17:29:09 +0100 +++ linux-2.6.16-rc2-mpf/arch/ia64/ia32/ia32priv.h 2006-02-13 01:23:38 +0100 @@ -291,7 +291,6 @@ struct old_linux32_dirent { #define _ASM_IA64_ELF_H /* Don't include elf.h */ #include -#include /* * This is used to ensure we don't load something for the wrong architecture. diff -NurpP --minimal linux-2.6.16-rc2/arch/ia64/ia32/sys_ia32.c linux-2.6.16-rc2-mpf/arch/ia64/ia32/sys_ia32.c --- linux-2.6.16-rc2/arch/ia64/ia32/sys_ia32.c 2006-02-07 11:52:08 +0100 +++ linux-2.6.16-rc2-mpf/arch/ia64/ia32/sys_ia32.c 2006-02-13 01:22:43 +0100 @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ia64/kernel/setup.c linux-2.6.16-rc2-mpf/arch/ia64/kernel/setup.c --- linux-2.6.16-rc2/arch/ia64/kernel/setup.c 2006-02-07 11:52:08 +0100 +++ linux-2.6.16-rc2-mpf/arch/ia64/kernel/setup.c 2006-02-13 01:21:56 +0100 @@ -60,7 +60,6 @@ #include #include #include -#include #if defined(CONFIG_SMP) && (IA64_CPU_SIZE > PAGE_SIZE) # error "struct cpuinfo_ia64 too big!" diff -NurpP --minimal linux-2.6.16-rc2/arch/ia64/kernel/time.c linux-2.6.16-rc2-mpf/arch/ia64/kernel/time.c --- linux-2.6.16-rc2/arch/ia64/kernel/time.c 2006-01-03 17:29:09 +0100 +++ linux-2.6.16-rc2-mpf/arch/ia64/kernel/time.c 2006-02-13 01:22:11 +0100 @@ -19,7 +19,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ia64/sn/kernel/setup.c linux-2.6.16-rc2-mpf/arch/ia64/sn/kernel/setup.c --- linux-2.6.16-rc2/arch/ia64/sn/kernel/setup.c 2006-01-03 17:29:09 +0100 +++ linux-2.6.16-rc2-mpf/arch/ia64/sn/kernel/setup.c 2006-02-13 01:22:27 +0100 @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/m68knommu/platform/5206e/config.c linux-2.6.16-rc2-mpf/arch/m68knommu/platform/5206e/config.c --- linux-2.6.16-rc2/arch/m68knommu/platform/5206e/config.c 2004-12-25 01:54:45 +0100 +++ linux-2.6.16-rc2-mpf/arch/m68knommu/platform/5206e/config.c 2006-02-13 01:19:07 +0100 @@ -21,7 +21,6 @@ #include #include #include -#include /***************************************************************************/ diff -NurpP --minimal linux-2.6.16-rc2/arch/mips/kernel/signal_n32.c linux-2.6.16-rc2-mpf/arch/mips/kernel/signal_n32.c --- linux-2.6.16-rc2/arch/mips/kernel/signal_n32.c 2006-01-03 17:29:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/mips/kernel/signal_n32.c 2006-02-13 01:15:39 +0100 @@ -17,7 +17,6 @@ */ #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/mips/mips-boards/generic/time.c linux-2.6.16-rc2-mpf/arch/mips/mips-boards/generic/time.c --- linux-2.6.16-rc2/arch/mips/mips-boards/generic/time.c 2006-02-07 11:52:10 +0100 +++ linux-2.6.16-rc2-mpf/arch/mips/mips-boards/generic/time.c 2006-02-13 01:17:20 +0100 @@ -42,7 +42,6 @@ #include #include #include -#include unsigned long cpu_khz; diff -NurpP --minimal linux-2.6.16-rc2/arch/mips/mips-boards/sim/sim_time.c linux-2.6.16-rc2-mpf/arch/mips/mips-boards/sim/sim_time.c --- linux-2.6.16-rc2/arch/mips/mips-boards/sim/sim_time.c 2006-01-03 17:29:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/mips/mips-boards/sim/sim_time.c 2006-02-13 01:18:08 +0100 @@ -15,20 +15,13 @@ #include #include #include -#include -#include -#include #include -#include -#include -#include #include #include #include #include #include -#include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/mips/sibyte/bcm1480/time.c linux-2.6.16-rc2-mpf/arch/mips/sibyte/bcm1480/time.c --- linux-2.6.16-rc2/arch/mips/sibyte/bcm1480/time.c 2006-01-03 17:29:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/mips/sibyte/bcm1480/time.c 2006-02-13 01:18:35 +0100 @@ -99,8 +99,6 @@ void bcm1480_time_init(void) */ } -#include - void bcm1480_timer_interrupt(struct pt_regs *regs) { int cpu = smp_processor_id(); diff -NurpP --minimal linux-2.6.16-rc2/arch/mips/tx4938/common/setup.c linux-2.6.16-rc2-mpf/arch/mips/tx4938/common/setup.c --- linux-2.6.16-rc2/arch/mips/tx4938/common/setup.c 2006-01-03 17:29:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/mips/tx4938/common/setup.c 2006-02-13 01:18:48 +0100 @@ -31,7 +31,6 @@ #include #include #include -#include #include extern void toshiba_rbtx4938_setup(void); diff -NurpP --minimal linux-2.6.16-rc2/arch/parisc/kernel/signal.c linux-2.6.16-rc2-mpf/arch/parisc/kernel/signal.c --- linux-2.6.16-rc2/arch/parisc/kernel/signal.c 2006-01-03 17:29:13 +0100 +++ linux-2.6.16-rc2-mpf/arch/parisc/kernel/signal.c 2006-02-13 01:24:26 +0100 @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/kernel/btext.c linux-2.6.16-rc2-mpf/arch/powerpc/kernel/btext.c --- linux-2.6.16-rc2/arch/powerpc/kernel/btext.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/kernel/btext.c 2006-02-13 01:30:41 +0100 @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/kernel/iommu.c linux-2.6.16-rc2-mpf/arch/powerpc/kernel/iommu.c --- linux-2.6.16-rc2/arch/powerpc/kernel/iommu.c 2006-01-03 17:29:13 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/kernel/iommu.c 2006-02-13 01:30:57 +0100 @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/kernel/time.c linux-2.6.16-rc2-mpf/arch/powerpc/kernel/time.c --- linux-2.6.16-rc2/arch/powerpc/kernel/time.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/kernel/time.c 2006-02-13 01:31:44 +0100 @@ -70,7 +70,6 @@ #include #include #endif -#include /* keep track of when we need to update the rtc */ time_t last_rtc_update; diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/mm/hash_utils_64.c linux-2.6.16-rc2-mpf/arch/powerpc/mm/hash_utils_64.c --- linux-2.6.16-rc2/arch/powerpc/mm/hash_utils_64.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/mm/hash_utils_64.c 2006-02-13 01:32:00 +0100 @@ -50,7 +50,6 @@ #include #include #include -#include #include #ifdef DEBUG diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/mm/hugetlbpage.c linux-2.6.16-rc2-mpf/arch/powerpc/mm/hugetlbpage.c --- linux-2.6.16-rc2/arch/powerpc/mm/hugetlbpage.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/mm/hugetlbpage.c 2006-02-13 01:32:36 +0100 @@ -23,9 +23,6 @@ #include #include #include -#include - -#include #define NUM_LOW_AREAS (0x100000000UL >> SID_SHIFT) #define NUM_HIGH_AREAS (PGTABLE_RANGE >> HTLB_AREA_SHIFT) diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/mm/init_32.c linux-2.6.16-rc2-mpf/arch/powerpc/mm/init_32.c --- linux-2.6.16-rc2/arch/powerpc/mm/init_32.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/mm/init_32.c 2006-02-13 01:32:50 +0100 @@ -43,7 +43,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/mm/mem.c linux-2.6.16-rc2-mpf/arch/powerpc/mm/mem.c --- linux-2.6.16-rc2/arch/powerpc/mm/mem.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/mm/mem.c 2006-02-13 01:33:04 +0100 @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/cell/iommu.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/cell/iommu.c --- linux-2.6.16-rc2/arch/powerpc/platforms/cell/iommu.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/cell/iommu.c 2006-02-13 01:33:19 +0100 @@ -29,7 +29,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/chrp/setup.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/chrp/setup.c --- linux-2.6.16-rc2/arch/powerpc/platforms/chrp/setup.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/chrp/setup.c 2006-02-13 01:33:33 +0100 @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/chrp/smp.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/chrp/smp.c --- linux-2.6.16-rc2/arch/powerpc/platforms/chrp/smp.c 2006-01-03 17:29:13 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/chrp/smp.c 2006-02-13 01:33:51 +0100 @@ -32,7 +32,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/iseries/setup.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/iseries/setup.c --- linux-2.6.16-rc2/arch/powerpc/platforms/iseries/setup.c 2006-02-07 11:52:11 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/iseries/setup.c 2006-02-13 01:34:07 +0100 @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/powermac/low_i2c.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/low_i2c.c --- linux-2.6.16-rc2/arch/powerpc/platforms/powermac/low_i2c.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/low_i2c.c 2006-02-13 01:34:26 +0100 @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/powermac/setup.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/setup.c --- linux-2.6.16-rc2/arch/powerpc/platforms/powermac/setup.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/setup.c 2006-02-13 01:35:28 +0100 @@ -76,7 +76,6 @@ #include #include #include -#include #include "pmac.h" diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/powermac/udbg_adb.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/udbg_adb.c --- linux-2.6.16-rc2/arch/powerpc/platforms/powermac/udbg_adb.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/powermac/udbg_adb.c 2006-02-13 01:35:45 +0100 @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/powerpc/platforms/pseries/lpar.c linux-2.6.16-rc2-mpf/arch/powerpc/platforms/pseries/lpar.c --- linux-2.6.16-rc2/arch/powerpc/platforms/pseries/lpar.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/powerpc/platforms/pseries/lpar.c 2006-02-13 01:36:00 +0100 @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/platforms/85xx/stx_gp3.c linux-2.6.16-rc2-mpf/arch/ppc/platforms/85xx/stx_gp3.c --- linux-2.6.16-rc2/arch/ppc/platforms/85xx/stx_gp3.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/platforms/85xx/stx_gp3.c 2006-02-13 01:12:30 +0100 @@ -53,7 +53,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/platforms/chrp_setup.c linux-2.6.16-rc2-mpf/arch/ppc/platforms/chrp_setup.c --- linux-2.6.16-rc2/arch/ppc/platforms/chrp_setup.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/platforms/chrp_setup.c 2006-02-13 01:12:50 +0100 @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/syslib/gt64260_pic.c linux-2.6.16-rc2-mpf/arch/ppc/syslib/gt64260_pic.c --- linux-2.6.16-rc2/arch/ppc/syslib/gt64260_pic.c 2006-01-03 17:29:14 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/syslib/gt64260_pic.c 2006-02-13 01:11:03 +0100 @@ -37,7 +37,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/syslib/mpc52xx_pic.c linux-2.6.16-rc2-mpf/arch/ppc/syslib/mpc52xx_pic.c --- linux-2.6.16-rc2/arch/ppc/syslib/mpc52xx_pic.c 2005-06-22 02:37:57 +0200 +++ linux-2.6.16-rc2-mpf/arch/ppc/syslib/mpc52xx_pic.c 2006-02-13 01:12:05 +0100 @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/syslib/mv64360_pic.c linux-2.6.16-rc2-mpf/arch/ppc/syslib/mv64360_pic.c --- linux-2.6.16-rc2/arch/ppc/syslib/mv64360_pic.c 2006-01-03 17:29:15 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/syslib/mv64360_pic.c 2006-02-13 01:11:45 +0100 @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/syslib/ppc83xx_setup.c linux-2.6.16-rc2-mpf/arch/ppc/syslib/ppc83xx_setup.c --- linux-2.6.16-rc2/arch/ppc/syslib/ppc83xx_setup.c 2006-01-03 17:29:15 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/syslib/ppc83xx_setup.c 2006-02-13 01:11:29 +0100 @@ -44,7 +44,6 @@ #include #if defined(CONFIG_PCI) -#include #include #endif diff -NurpP --minimal linux-2.6.16-rc2/arch/ppc/xmon/start.c linux-2.6.16-rc2-mpf/arch/ppc/xmon/start.c --- linux-2.6.16-rc2/arch/ppc/xmon/start.c 2006-02-07 11:52:12 +0100 +++ linux-2.6.16-rc2-mpf/arch/ppc/xmon/start.c 2006-02-13 01:13:07 +0100 @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sh/kernel/sh_ksyms.c linux-2.6.16-rc2-mpf/arch/sh/kernel/sh_ksyms.c --- linux-2.6.16-rc2/arch/sh/kernel/sh_ksyms.c 2006-02-07 11:52:13 +0100 +++ linux-2.6.16-rc2-mpf/arch/sh/kernel/sh_ksyms.c 2006-02-13 01:19:42 +0100 @@ -19,7 +19,6 @@ #include #include #include -#include extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); extern struct hw_interrupt_type no_irq_type; diff -NurpP --minimal linux-2.6.16-rc2/arch/sh/kernel/smp.c linux-2.6.16-rc2-mpf/arch/sh/kernel/smp.c --- linux-2.6.16-rc2/arch/sh/kernel/smp.c 2006-02-07 11:52:13 +0100 +++ linux-2.6.16-rc2-mpf/arch/sh/kernel/smp.c 2006-02-13 01:20:08 +0100 @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sh64/kernel/setup.c linux-2.6.16-rc2-mpf/arch/sh64/kernel/setup.c --- linux-2.6.16-rc2/arch/sh64/kernel/setup.c 2005-06-22 02:37:59 +0200 +++ linux-2.6.16-rc2-mpf/arch/sh64/kernel/setup.c 2006-02-13 01:25:19 +0100 @@ -44,7 +44,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sh64/kernel/signal.c linux-2.6.16-rc2-mpf/arch/sh64/kernel/signal.c --- linux-2.6.16-rc2/arch/sh64/kernel/signal.c 2005-10-28 20:49:15 +0200 +++ linux-2.6.16-rc2-mpf/arch/sh64/kernel/signal.c 2006-02-13 01:25:03 +0100 @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sh64/kernel/traps.c linux-2.6.16-rc2-mpf/arch/sh64/kernel/traps.c --- linux-2.6.16-rc2/arch/sh64/kernel/traps.c 2005-06-22 02:37:59 +0200 +++ linux-2.6.16-rc2-mpf/arch/sh64/kernel/traps.c 2006-02-13 01:25:46 +0100 @@ -244,8 +244,6 @@ DO_ERROR(12, SIGILL, "reserved instruct #endif /* CONFIG_SH64_ID2815_WORKAROUND */ -#include - /* Called with interrupts disabled */ asmlinkage void do_exception_error(unsigned long ex, struct pt_regs *regs) { diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc/kernel/irq.c linux-2.6.16-rc2-mpf/arch/sparc/kernel/irq.c --- linux-2.6.16-rc2/arch/sparc/kernel/irq.c 2005-03-02 12:38:25 +0100 +++ linux-2.6.16-rc2-mpf/arch/sparc/kernel/irq.c 2006-02-13 01:10:36 +0100 @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc64/kernel/module.c linux-2.6.16-rc2-mpf/arch/sparc64/kernel/module.c --- linux-2.6.16-rc2/arch/sparc64/kernel/module.c 2005-06-22 02:38:00 +0200 +++ linux-2.6.16-rc2-mpf/arch/sparc64/kernel/module.c 2006-02-13 01:14:27 +0100 @@ -11,7 +11,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc64/kernel/process.c linux-2.6.16-rc2-mpf/arch/sparc64/kernel/process.c --- linux-2.6.16-rc2/arch/sparc64/kernel/process.c 2006-02-07 11:52:14 +0100 +++ linux-2.6.16-rc2-mpf/arch/sparc64/kernel/process.c 2006-02-13 01:13:22 +0100 @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc64/kernel/sys_sparc32.c linux-2.6.16-rc2-mpf/arch/sparc64/kernel/sys_sparc32.c --- linux-2.6.16-rc2/arch/sparc64/kernel/sys_sparc32.c 2006-02-07 11:52:16 +0100 +++ linux-2.6.16-rc2-mpf/arch/sparc64/kernel/sys_sparc32.c 2006-02-13 01:14:12 +0100 @@ -54,7 +54,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc64/kernel/sys_sunos32.c linux-2.6.16-rc2-mpf/arch/sparc64/kernel/sys_sunos32.c --- linux-2.6.16-rc2/arch/sparc64/kernel/sys_sunos32.c 2006-02-07 11:52:16 +0100 +++ linux-2.6.16-rc2-mpf/arch/sparc64/kernel/sys_sunos32.c 2006-02-13 01:13:58 +0100 @@ -56,7 +56,6 @@ #include /* For SOCKET_I */ -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/sparc64/kernel/time.c linux-2.6.16-rc2-mpf/arch/sparc64/kernel/time.c --- linux-2.6.16-rc2/arch/sparc64/kernel/time.c 2006-02-07 11:52:16 +0100 +++ linux-2.6.16-rc2-mpf/arch/sparc64/kernel/time.c 2006-02-13 01:13:37 +0100 @@ -29,7 +29,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/um/kernel/trap_kern.c linux-2.6.16-rc2-mpf/arch/um/kernel/trap_kern.c --- linux-2.6.16-rc2/arch/um/kernel/trap_kern.c 2006-02-07 11:52:17 +0100 +++ linux-2.6.16-rc2-mpf/arch/um/kernel/trap_kern.c 2006-02-13 01:20:41 +0100 @@ -26,13 +26,11 @@ #include "mconsole_kern.h" #include "mem.h" #include "mem_kern.h" -#include "sysdep/sigcontext.h" #include "sysdep/ptrace.h" #include "os.h" #ifdef CONFIG_MODE_SKAS #include "skas.h" #endif -#include "os.h" /* Note this is constrained to return 0, -EFAULT, -EACCESS, -ENOMEM by segv(). */ int handle_page_fault(unsigned long address, unsigned long ip, diff -NurpP --minimal linux-2.6.16-rc2/arch/x86_64/kernel/x8664_ksyms.c linux-2.6.16-rc2-mpf/arch/x86_64/kernel/x8664_ksyms.c --- linux-2.6.16-rc2/arch/x86_64/kernel/x8664_ksyms.c 2006-02-07 11:52:18 +0100 +++ linux-2.6.16-rc2-mpf/arch/x86_64/kernel/x8664_ksyms.c 2006-02-13 01:26:38 +0100 @@ -30,7 +30,6 @@ #include #include #include -#include extern spinlock_t rtc_lock; diff -NurpP --minimal linux-2.6.16-rc2/arch/x86_64/mm/fault.c linux-2.6.16-rc2-mpf/arch/x86_64/mm/fault.c --- linux-2.6.16-rc2/arch/x86_64/mm/fault.c 2006-02-07 11:52:18 +0100 +++ linux-2.6.16-rc2-mpf/arch/x86_64/mm/fault.c 2006-02-13 01:27:02 +0100 @@ -33,7 +33,6 @@ #include #include #include -#include /* Page fault error code bits */ #define PF_PROT (1<<0) /* or no page found */ diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/kernel/align.S linux-2.6.16-rc2-mpf/arch/xtensa/kernel/align.S --- linux-2.6.16-rc2/arch/xtensa/kernel/align.S 2005-10-28 20:49:18 +0200 +++ linux-2.6.16-rc2-mpf/arch/xtensa/kernel/align.S 2006-02-13 02:26:19 +0100 @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/kernel/asm-offsets.c linux-2.6.16-rc2-mpf/arch/xtensa/kernel/asm-offsets.c --- linux-2.6.16-rc2/arch/xtensa/kernel/asm-offsets.c 2005-08-29 22:24:57 +0200 +++ linux-2.6.16-rc2-mpf/arch/xtensa/kernel/asm-offsets.c 2006-02-13 01:28:11 +0100 @@ -19,7 +19,6 @@ #include #include #include -#include #include #define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val)) diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/kernel/vectors.S linux-2.6.16-rc2-mpf/arch/xtensa/kernel/vectors.S --- linux-2.6.16-rc2/arch/xtensa/kernel/vectors.S 2005-10-28 20:49:18 +0200 +++ linux-2.6.16-rc2-mpf/arch/xtensa/kernel/vectors.S 2006-02-13 02:26:41 +0100 @@ -44,14 +44,12 @@ #include #include -#include #include #include #include #include #include #include -#include /* diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/mm/init.c linux-2.6.16-rc2-mpf/arch/xtensa/mm/init.c --- linux-2.6.16-rc2/arch/xtensa/mm/init.c 2005-10-28 20:49:18 +0200 +++ linux-2.6.16-rc2-mpf/arch/xtensa/mm/init.c 2006-02-13 01:29:34 +0100 @@ -34,7 +34,6 @@ #include #include #include -#include #define DEBUG 0 diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/platform-iss/console.c linux-2.6.16-rc2-mpf/arch/xtensa/platform-iss/console.c --- linux-2.6.16-rc2/arch/xtensa/platform-iss/console.c 2005-08-29 22:24:57 +0200 +++ linux-2.6.16-rc2-mpf/arch/xtensa/platform-iss/console.c 2006-02-13 01:30:07 +0100 @@ -21,7 +21,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/arch/xtensa/platform-iss/network.c linux-2.6.16-rc2-mpf/arch/xtensa/platform-iss/network.c --- linux-2.6.16-rc2/arch/xtensa/platform-iss/network.c 2006-01-03 17:29:20 +0100 +++ linux-2.6.16-rc2-mpf/arch/xtensa/platform-iss/network.c 2006-02-13 01:30:22 +0100 @@ -32,7 +32,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/atm/lanai.c linux-2.6.16-rc2-mpf/drivers/atm/lanai.c --- linux-2.6.16-rc2/drivers/atm/lanai.c 2006-01-03 17:29:21 +0100 +++ linux-2.6.16-rc2-mpf/drivers/atm/lanai.c 2006-02-13 02:07:27 +0100 @@ -65,7 +65,6 @@ #include #include #include -#include /* -------------------- TUNABLE PARAMATERS: */ diff -NurpP --minimal linux-2.6.16-rc2/drivers/block/viodasd.c linux-2.6.16-rc2-mpf/drivers/block/viodasd.c --- linux-2.6.16-rc2/drivers/block/viodasd.c 2006-02-07 11:52:23 +0100 +++ linux-2.6.16-rc2-mpf/drivers/block/viodasd.c 2006-02-13 02:03:04 +0100 @@ -41,7 +41,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/char/lcd.c linux-2.6.16-rc2-mpf/drivers/char/lcd.c --- linux-2.6.16-rc2/drivers/char/lcd.c 2006-01-03 17:29:25 +0100 +++ linux-2.6.16-rc2-mpf/drivers/char/lcd.c 2006-02-13 01:49:29 +0100 @@ -29,7 +29,6 @@ #include #include #include -#include #include "lcd.h" diff -NurpP --minimal linux-2.6.16-rc2/drivers/char/ppdev.c linux-2.6.16-rc2-mpf/drivers/char/ppdev.c --- linux-2.6.16-rc2/drivers/char/ppdev.c 2006-01-03 17:29:26 +0100 +++ linux-2.6.16-rc2-mpf/drivers/char/ppdev.c 2006-02-13 01:49:43 +0100 @@ -68,7 +68,6 @@ #include #include #include -#include #define PP_VERSION "ppdev: user-space parallel port driver" #define CHRDEV "ppdev" diff -NurpP --minimal linux-2.6.16-rc2/drivers/char/synclink.c linux-2.6.16-rc2-mpf/drivers/char/synclink.c --- linux-2.6.16-rc2/drivers/char/synclink.c 2006-02-07 11:52:25 +0100 +++ linux-2.6.16-rc2-mpf/drivers/char/synclink.c 2006-02-13 01:49:14 +0100 @@ -89,7 +89,6 @@ #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/input/gameport/gameport.c linux-2.6.16-rc2-mpf/drivers/input/gameport/gameport.c --- linux-2.6.16-rc2/drivers/input/gameport/gameport.c 2006-02-07 11:52:30 +0100 +++ linux-2.6.16-rc2-mpf/drivers/input/gameport/gameport.c 2006-02-13 02:07:06 +0100 @@ -21,7 +21,6 @@ #include #include #include -#include /* HZ */ /*#include */ diff -NurpP --minimal linux-2.6.16-rc2/drivers/macintosh/therm_pm72.c linux-2.6.16-rc2-mpf/drivers/macintosh/therm_pm72.c --- linux-2.6.16-rc2/drivers/macintosh/therm_pm72.c 2006-02-07 11:52:31 +0100 +++ linux-2.6.16-rc2-mpf/drivers/macintosh/therm_pm72.c 2006-02-13 02:07:58 +0100 @@ -104,7 +104,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/media/video/arv.c linux-2.6.16-rc2-mpf/drivers/media/video/arv.c --- linux-2.6.16-rc2/drivers/media/video/arv.c 2006-02-07 11:52:32 +0100 +++ linux-2.6.16-rc2-mpf/drivers/media/video/arv.c 2006-02-13 01:38:37 +0100 @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/mtd/chips/jedec_probe.c linux-2.6.16-rc2-mpf/drivers/mtd/chips/jedec_probe.c --- linux-2.6.16-rc2/drivers/mtd/chips/jedec_probe.c 2006-01-03 17:29:35 +0100 +++ linux-2.6.16-rc2-mpf/drivers/mtd/chips/jedec_probe.c 2006-02-13 01:57:22 +0100 @@ -18,7 +18,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/mtd/devices/m25p80.c linux-2.6.16-rc2-mpf/drivers/mtd/devices/m25p80.c --- linux-2.6.16-rc2/drivers/mtd/devices/m25p80.c 2006-02-07 11:52:37 +0100 +++ linux-2.6.16-rc2-mpf/drivers/mtd/devices/m25p80.c 2006-02-13 01:57:05 +0100 @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/bonding/bond_sysfs.c linux-2.6.16-rc2-mpf/drivers/net/bonding/bond_sysfs.c --- linux-2.6.16-rc2/drivers/net/bonding/bond_sysfs.c 2006-02-07 11:52:37 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/bonding/bond_sysfs.c 2006-02-13 01:39:03 +0100 @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/fs_enet/fs_enet-main.c linux-2.6.16-rc2-mpf/drivers/net/fs_enet/fs_enet-main.c --- linux-2.6.16-rc2/drivers/net/fs_enet/fs_enet-main.c 2006-01-03 17:29:37 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/fs_enet/fs_enet-main.c 2006-02-13 01:39:21 +0100 @@ -41,8 +41,6 @@ #include #include - -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/gianfar.h linux-2.6.16-rc2-mpf/drivers/net/gianfar.h --- linux-2.6.16-rc2/drivers/net/gianfar.h 2006-02-07 11:52:37 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/gianfar.h 2006-02-13 01:45:29 +0100 @@ -46,7 +46,6 @@ #include #include #include -#include #include #include "gianfar_mii.h" diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/gianfar_ethtool.c linux-2.6.16-rc2-mpf/drivers/net/gianfar_ethtool.c --- linux-2.6.16-rc2/drivers/net/gianfar_ethtool.c 2006-02-07 11:52:37 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/gianfar_ethtool.c 2006-02-13 01:45:45 +0100 @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/mipsnet.c linux-2.6.16-rc2-mpf/drivers/net/mipsnet.c --- linux-2.6.16-rc2/drivers/net/mipsnet.c 2006-01-03 17:29:40 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/mipsnet.c 2006-02-13 01:46:01 +0100 @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/via-velocity.c linux-2.6.16-rc2-mpf/drivers/net/via-velocity.c --- linux-2.6.16-rc2/drivers/net/via-velocity.c 2006-02-07 11:52:41 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/via-velocity.c 2006-02-13 01:43:37 +0100 @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/net/wireless/ipw2200.h linux-2.6.16-rc2-mpf/drivers/net/wireless/ipw2200.h --- linux-2.6.16-rc2/drivers/net/wireless/ipw2200.h 2006-02-07 11:52:41 +0100 +++ linux-2.6.16-rc2-mpf/drivers/net/wireless/ipw2200.h 2006-02-13 01:38:49 +0100 @@ -45,7 +45,6 @@ #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/scsi/NCR_D700.c linux-2.6.16-rc2-mpf/drivers/scsi/NCR_D700.c --- linux-2.6.16-rc2/drivers/scsi/NCR_D700.c 2005-06-22 02:38:23 +0200 +++ linux-2.6.16-rc2-mpf/drivers/scsi/NCR_D700.c 2006-02-13 01:51:56 +0100 @@ -97,7 +97,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/scsi/seagate.c linux-2.6.16-rc2-mpf/drivers/scsi/seagate.c --- linux-2.6.16-rc2/drivers/scsi/seagate.c 2006-01-03 17:29:49 +0100 +++ linux-2.6.16-rc2-mpf/drivers/scsi/seagate.c 2006-02-13 01:56:42 +0100 @@ -97,7 +97,6 @@ #include #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/video/fbmem.c linux-2.6.16-rc2-mpf/drivers/video/fbmem.c --- linux-2.6.16-rc2/drivers/video/fbmem.c 2006-02-07 11:52:56 +0100 +++ linux-2.6.16-rc2-mpf/drivers/video/fbmem.c 2006-02-13 01:37:16 +0100 @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #ifdef CONFIG_KMOD @@ -34,7 +33,6 @@ #endif #include #include -#include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/video/s3c2410fb.c linux-2.6.16-rc2-mpf/drivers/video/s3c2410fb.c --- linux-2.6.16-rc2/drivers/video/s3c2410fb.c 2006-02-07 11:52:57 +0100 +++ linux-2.6.16-rc2-mpf/drivers/video/s3c2410fb.c 2006-02-13 01:38:19 +0100 @@ -82,7 +82,6 @@ #include #include #include -#include #include #include #include diff -NurpP --minimal linux-2.6.16-rc2/drivers/video/tgafb.c linux-2.6.16-rc2-mpf/drivers/video/tgafb.c --- linux-2.6.16-rc2/drivers/video/tgafb.c 2006-01-03 17:29:55 +0100 +++ linux-2.6.16-rc2-mpf/drivers/video/tgafb.c 2006-02-13 01:37:40 +0100 @@ -26,7 +26,6 @@ #include #include #include