* [PATCH 8/9] 00mmd pae compile fix
@ 2006-08-11 9:21 Zachary Amsden
0 siblings, 0 replies; only message in thread
From: Zachary Amsden @ 2006-08-11 9:21 UTC (permalink / raw)
To: Andrew Morton, Andi Kleen, Zachary Amsden, Chris Wright,
Rusty Russell, Jeremy Fitzhardinge, Virtualization Mailing List,
Linux Kernel Mailing List, Linux MM
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 <zach@vmware.com>
===================================================================
--- 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 <linux/config.h> /* 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 <linux/config.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/module.h>
===================================================================
--- a/arch/i386/lib/delay.c
+++ b/arch/i386/lib/delay.c
@@ -11,7 +11,6 @@
*/
#include <linux/module.h>
-#include <linux/config.h>
#include <linux/sched.h>
#include <linux/delay.h>
===================================================================
--- a/include/asm-i386/dwarf2.h
+++ b/include/asm-i386/dwarf2.h
@@ -1,7 +1,5 @@
#ifndef _DWARF2_H
#define _DWARF2_H
-
-#include <linux/config.h>
#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 <linux/config.h>
#include <asm/processor.h>
/*
===================================================================
--- 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 <linux/config.h>
struct module;
===================================================================
--- a/include/linux/vmstat.h
+++ b/include/linux/vmstat.h
@@ -3,7 +3,6 @@
#include <linux/types.h>
#include <linux/percpu.h>
-#include <linux/config.h>
#include <linux/mmzone.h>
#include <asm/atomic.h>
--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-11 9:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-11 9:21 [PATCH 8/9] 00mmd pae compile fix Zachary Amsden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox