From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 11 Aug 2006 02:21:24 -0700 Message-Id: <200608110921.k7B9LO7Z023366@zach-dev.vmware.com> Subject: [PATCH 8/9] 00mmd pae compile fix From: Zachary Amsden Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton , Andi Kleen , Zachary Amsden , Chris Wright , Rusty Russell , Jeremy Fitzhardinge , Virtualization Mailing List , Linux Kernel Mailing List , Linux MM Zachary Amsden List-ID: During tracking down a PAE compile failure, I found that config.h was being included in a bunch of places in i386 code. It is no longer necessary, so drop it. Signed-off-by: Zachary Amsden =================================================================== --- a/arch/i386/boot/video.S +++ b/arch/i386/boot/video.S @@ -10,8 +10,6 @@ * For further information, look at Documentation/svga.txt. * */ - -#include /* for CONFIG_VIDEO_* */ /* Enable autodetection of SVGA adapters and modes. */ #undef CONFIG_VIDEO_SVGA =================================================================== --- a/arch/i386/kernel/nmi.c +++ b/arch/i386/kernel/nmi.c @@ -13,7 +13,6 @@ * Mikael Pettersson : PM converted to driver model. Disable/enable API. */ -#include #include #include #include =================================================================== --- a/arch/i386/lib/delay.c +++ b/arch/i386/lib/delay.c @@ -11,7 +11,6 @@ */ #include -#include #include #include =================================================================== --- a/include/asm-i386/dwarf2.h +++ b/include/asm-i386/dwarf2.h @@ -1,7 +1,5 @@ #ifndef _DWARF2_H #define _DWARF2_H - -#include #ifndef __ASSEMBLY__ #warning "asm/dwarf2.h should be only included in pure assembly files" =================================================================== --- a/include/asm-i386/tsc.h +++ b/include/asm-i386/tsc.h @@ -6,7 +6,6 @@ #ifndef _ASM_i386_TSC_H #define _ASM_i386_TSC_H -#include #include /* =================================================================== --- a/include/linux/unwind.h +++ b/include/linux/unwind.h @@ -11,8 +11,6 @@ * full-blown stack unwinding with all the bells and whistles, so there * is not much point in implementing the full Dwarf2 unwind API. */ - -#include struct module; =================================================================== --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -3,7 +3,6 @@ #include #include -#include #include #include -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org