Browse Source

[PATCH] Some config.h removals

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>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Zachary Amsden 18 years ago
parent
commit
5a73fdc5ea
4 changed files with 0 additions and 6 deletions
  1. 0 2
      arch/i386/boot/video.S
  2. 0 1
      arch/i386/kernel/nmi.c
  3. 0 1
      arch/i386/lib/delay.c
  4. 0 2
      include/linux/unwind.h

+ 0 - 2
arch/i386/boot/video.S

@@ -11,8 +11,6 @@
  *
  *
  */
  */
 
 
-#include <linux/config.h> /* for CONFIG_VIDEO_* */
-
 /* Enable autodetection of SVGA adapters and modes. */
 /* Enable autodetection of SVGA adapters and modes. */
 #undef CONFIG_VIDEO_SVGA
 #undef CONFIG_VIDEO_SVGA
 
 

+ 0 - 1
arch/i386/kernel/nmi.c

@@ -13,7 +13,6 @@
  *  Mikael Pettersson	: PM converted to driver model. Disable/enable API.
  *  Mikael Pettersson	: PM converted to driver model. Disable/enable API.
  */
  */
 
 
-#include <linux/config.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/module.h>

+ 0 - 1
arch/i386/lib/delay.c

@@ -11,7 +11,6 @@
  */
  */
 
 
 #include <linux/module.h>
 #include <linux/module.h>
-#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
 
 

+ 0 - 2
include/linux/unwind.h

@@ -12,8 +12,6 @@
  * is not much point in implementing the full Dwarf2 unwind API.
  * is not much point in implementing the full Dwarf2 unwind API.
  */
  */
 
 
-#include <linux/config.h>
-
 struct module;
 struct module;
 
 
 #ifdef CONFIG_STACK_UNWIND
 #ifdef CONFIG_STACK_UNWIND