[PATCH 500] M68k: missing/superfluous config.h
From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 10/31/04
- Previous message: Geert Uytterhoeven: "[PATCH 523] M68k: Remove duplicate includes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 11:03:39 +0100 To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
M68k: Add missing and remove superfluous #include <linux/config.h>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
--- linux-2.6.10-rc1/arch/m68k/hp300/config.c 2004-08-14 15:35:36.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/hp300/config.c 2004-10-17 17:48:31.000000000 +0200
@@ -7,6 +7,7 @@
* called by setup.c.
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h>
--- linux-2.6.10-rc1/arch/m68k/mm/sun3mmu.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/mm/sun3mmu.c 2004-10-17 17:49:41.000000000 +0200
@@ -7,7 +7,6 @@
*
*/
-#include <linux/config.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/mm.h>
--- linux-2.6.10-rc1/arch/m68k/q40/q40ints.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/q40/q40ints.c 2004-10-17 17:49:54.000000000 +0200
@@ -11,7 +11,6 @@
*
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/errno.h>
--- linux-2.6.10-rc1/arch/m68k/sun3/sun3dvma.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/sun3/sun3dvma.c 2004-10-17 17:43:51.000000000 +0200
@@ -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>
--- linux-2.6.10-rc1/arch/m68k/sun3/sun3ints.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/sun3/sun3ints.c 2004-10-17 17:44:05.000000000 +0200
@@ -6,6 +6,7 @@
* for more details.
*/
+#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
--- linux-2.6.10-rc1/arch/m68k/sun3x/config.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/sun3x/config.c 2004-10-17 17:44:49.000000000 +0200
@@ -6,6 +6,7 @@
* based on code from Oliver Jowett <oliver@jowett.manawatu.gen.nz>
*/
+#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
--- linux-2.6.10-rc1/include/asm-m68k/atomic.h 2004-07-12 09:48:27.000000000 +0200
+++ linux-m68k-2.6.10-rc1/include/asm-m68k/atomic.h 2004-10-17 17:45:27.000000000 +0200
@@ -1,6 +1,8 @@
#ifndef __ARCH_M68K_ATOMIC__
#define __ARCH_M68K_ATOMIC__
+#include <linux/config.h>
+
#include <asm/system.h> /* local_irq_XXX() */
/*
--- linux-2.6.10-rc1/include/asm-m68k/mc146818rtc.h 2004-04-28 10:58:58.000000000 +0200
+++ linux-m68k-2.6.10-rc1/include/asm-m68k/mc146818rtc.h 2004-10-17 17:45:54.000000000 +0200
@@ -4,6 +4,8 @@
#ifndef _ASM_MC146818RTC_H
#define _ASM_MC146818RTC_H
+#include <linux/config.h>
+
#ifdef CONFIG_ATARI
/* RTC in Atari machines */
--- linux-2.6.10-rc1/include/asm-m68k/tlbflush.h 2004-05-24 11:13:53.000000000 +0200
+++ linux-m68k-2.6.10-rc1/include/asm-m68k/tlbflush.h 2004-10-17 17:46:29.000000000 +0200
@@ -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 -- geert@linux-m68k.org 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Geert Uytterhoeven: "[PATCH 523] M68k: Remove duplicate includes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH 3/39] NLKD - early/late CPU up/down notification
... >> warnings) when one can already at compile time. ... >we want to
not use #ifdef at all if we can ever help it. ... realized that the warning messages
from the modpost build stage are very ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: [2.6 patch] drivers/acpi: remove unused exported functions
... > future patches, but sometimes Real Life gets in the way and the ... >
programmer stalls development for some time, no problem, just ifdef it. ... There had been
need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: Cpufreq for opteron
... > The fact most of users are already inside ifdef blocks themselves ... I
converted lprintk and tprintk to dprintk. ... When do you have a heart between your
knees? ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH 2/3] RCU: rcu_assign_pointer() removal of memory barriers
... * substituting pointer. ... must be visible to another weakly ordered CPU
before ... #ifdef CONFIG_NET_ESTIMATOR ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: 2.6.9-rc2-mm3: swsusp horribly slow on AMD64
... > I've got two logs, one of which is taken from the system with all ... Strange,
*very* strange. ... +#ifdef CONFIG_KGDB_SYSRQ ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)