Skip to contentSkip to conversation

M68k: missing/superfluous config.h

PATCH New Geert Uytterhoeven 1 participant 1 message Oct 31, 2004

Subsystems (4)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 M68k: missing/superfluous config.h

M68k: Add missing and remove superfluous #include <linux/config.h>

arch/m68k/hp300/config.c +1 -0
@@ -7,6 +7,7 @@
  *  called by setup.c.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/string.h>
arch/m68k/mm/sun3mmu.c +0 -1
@@ -7,7 +7,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/signal.h>
 #include <linux/sched.h>
 #include <linux/mm.h>
arch/m68k/q40/q40ints.c +0 -1
@@ -11,7 +11,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
arch/m68k/sun3/sun3dvma.c +1 -0
@@ -6,6 +6,7 @@
  * Contains common routines for sun3/sun3x DVMA management.
  */
 
+#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/list.h>
arch/m68k/sun3/sun3ints.c +1 -0
@@ -6,6 +6,7 @@
  * for more details.
  */
 
+#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
arch/m68k/sun3x/config.c +2 -1
@@ -6,6 +6,7 @@
  * based on code from Oliver Jowett <[email protected]>
  */
 
+#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/mm.h>
 #include <linux/console.h>
@@ -70,7 +71,7 @@ void __init config_sun3x(void)
 	mach_get_model       = sun3_get_model;
 	mach_get_hardware_list = sun3x_get_hardware_list;
 
-#if defined(CONFIG_DUMMY_CONSOLE)
+#ifdef CONFIG_DUMMY_CONSOLE
 	conswitchp	     = &dummy_con;
 #endif
 
include/asm-m68k/atomic.h +2 -0
@@ -1,6 +1,8 @@
 #ifndef __ARCH_M68K_ATOMIC__
 #define __ARCH_M68K_ATOMIC__
 
+#include <linux/config.h>
+
 #include <asm/system.h>	/* local_irq_XXX() */
 
 /*
include/asm-m68k/mc146818rtc.h +2 -0
@@ -4,6 +4,8 @@
 #ifndef _ASM_MC146818RTC_H
 #define _ASM_MC146818RTC_H
 
+#include <linux/config.h>
+
 #ifdef CONFIG_ATARI
 /* RTC in Atari machines */
 
include/asm-m68k/tlbflush.h +2 -0
@@ -1,6 +1,8 @@
 #ifndef _M68K_TLBFLUSH_H
 #define _M68K_TLBFLUSH_H
 
+#include <linux/config.h>
+
 #ifndef CONFIG_SUN3
 
 #include <asm/current.h>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds