Skip to content

Commit

Permalink
[PATCH] Some config.h removals
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zachary Amsden authored and Linus Torvalds committed Oct 1, 2006
1 parent 789e6ac commit 5a73fdc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/i386/boot/video.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
*
*/

#include <linux/config.h> /* for CONFIG_VIDEO_* */

/* Enable autodetection of SVGA adapters and modes. */
#undef CONFIG_VIDEO_SVGA

Expand Down
1 change: 0 additions & 1 deletion arch/i386/kernel/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion arch/i386/lib/delay.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
*/

#include <linux/module.h>
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/delay.h>

Expand Down
2 changes: 0 additions & 2 deletions include/linux/unwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* is not much point in implementing the full Dwarf2 unwind API.
*/

#include <linux/config.h>

struct module;

#ifdef CONFIG_STACK_UNWIND
Expand Down

0 comments on commit 5a73fdc

Please sign in to comment.