Commit 038b0a6d authored by Dave Jones's avatar Dave Jones

Remove all inclusions of <linux/config.h>

kbuild explicitly includes this at build time.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 78b656b8
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <linux/a.out.h> #include <linux/a.out.h>
#include <linux/screen_info.h> #include <linux/screen_info.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/config.h> /* CONFIG_ALPHA_LCA etc */
#include <linux/mc146818rtc.h> #include <linux/mc146818rtc.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/cpu.h> #include <linux/cpu.h>
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
* The system call table. * The system call table.
*/ */
#include <linux/config.h> /* CONFIG_OSF4_COMPAT */
#include <asm/unistd.h> #include <asm/unistd.h>
.data .data
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/signal.h> #include <linux/signal.h>
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/signal.h> #include <linux/signal.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* your option) any later version. * your option) any later version.
*/ */
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* your option) any later version. * your option) any later version.
*/ */
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* your option) any later version. * your option) any later version.
*/ */
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* your option) any later version. * your option) any later version.
*/ */
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* version 2 as published by the Free Software Foundation. * version 2 as published by the Free Software Foundation.
* *
*/ */
#include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
* *
*/ */
#include <linux/config.h>
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/arch/clocks.h> #include <asm/arch/clocks.h>
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/config.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/clk.h> #include <linux/clk.h>
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
* or implied. * or implied.
*/ */
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* or implied. * or implied.
*/ */
#include <linux/config.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* or implied. * or implied.
*/ */
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/delay.h> #include <linux/delay.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -28,7 +28,6 @@ END { ...@@ -28,7 +28,6 @@ END {
printf(" */\n\n"); printf(" */\n\n");
printf("#ifndef __ASM_ARM_MACH_TYPE_H\n"); printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
printf("#define __ASM_ARM_MACH_TYPE_H\n\n"); printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
printf("#include <linux/config.h>\n\n");
printf("#ifndef __ASSEMBLY__\n"); printf("#ifndef __ASSEMBLY__\n");
printf("/* The type of machine we're running on */\n"); printf("/* The type of machine we're running on */\n");
printf("extern unsigned int __machine_arch_type;\n"); printf("extern unsigned int __machine_arch_type;\n");
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/config.h> /* for CONFIG_CPU_nn */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/config.h> /* for CONFIG_CPU_nn */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* 2 of the License, or (at your option) any later version. * 2 of the License, or (at your option) any later version.
*/ */
#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/module.h> #include <linux/module.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* "A Kernel Model for Precision Timekeeping" by Dave Mills * "A Kernel Model for Precision Timekeeping" by Dave Mills
*/ */
#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org> * rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org>
*/ */
#include <linux/config.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/rwlock.h> #include <asm/rwlock.h>
#include <asm/alternative-asm.i> #include <asm/alternative-asm.i>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
/* $Id: mmu.S,v 1.15 2004/03/16 02:56:27 takata Exp $ */ /* $Id: mmu.S,v 1.15 2004/03/16 02:56:27 takata Exp $ */
#include <linux/config.h> /* CONFIG_MMU */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/smp.h> #include <asm/smp.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* "A Kernel Model for Precision Timekeeping" by Dave Mills * "A Kernel Model for Precision Timekeeping" by Dave Mills
*/ */
#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
/***************************************************************************/ /***************************************************************************/
#include <linux/config.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/param.h> #include <linux/param.h>
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
* Copyright 2006 Greg Ungerer <gerg@snapgear.com> * Copyright 2006 Greg Ungerer <gerg@snapgear.com>
*/ */
#include <linux/config.h>
.global _start .global _start
.global _buserr .global _buserr
.global trap .global trap
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
* Initial Version 04-23-1999 by Helge Deller <deller@gmx.de> * Initial Version 04-23-1999 by Helge Deller <deller@gmx.de>
*/ */
#include <linux/config.h> /* for CONFIG_SMP */
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/psw.h> #include <asm/psw.h>
#include <asm/pdc.h> #include <asm/pdc.h>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
* thanks to Philipp Rumpf, Mike Shaver and various others * thanks to Philipp Rumpf, Mike Shaver and various others
* sorry about the wall, puffin.. * sorry about the wall, puffin..
*/ */
#include <linux/config.h> /* for CONFIG_SMP */
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/unistd.h> #include <asm/unistd.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* option) any later version. * option) any later version.
*/ */
#include <linux/config.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifndef __MACH_MPC85XXADS_H #ifndef __MACH_MPC85XXADS_H
#define __MACH_MPC85XXADS_H #define __MACH_MPC85XXADS_H
#include <linux/config.h>
#include <linux/initrd.h> #include <linux/initrd.h>
#include <sysdev/fsl_soc.h> #include <sysdev/fsl_soc.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* option) any later version. * option) any later version.
*/ */
#include <linux/config.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
* (c) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org>, IBM Corp. * (c) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org>, IBM Corp.
*/ */
#include <linux/config.h>
#include <linux/percpu.h> #include <linux/percpu.h>
#include <linux/types.h> #include <linux/types.h>
......
#define DEBUG #define DEBUG
#include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/smp.h> #include <linux/smp.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* 2 of the License, or (at your option) any later version. * 2 of the License, or (at your option) any later version.
*/ */
#include <linux/config.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/pci.h> #include <linux/pci.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/delay.h> #include <linux/delay.h>
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/config.h>
#include <linux/time.h> #include <linux/time.h>
#include <asm/time.h> #include <asm/time.h>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
* option) any later version. * option) any later version.
*/ */
#include <linux/config.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#ifndef __CPCI405_H__ #ifndef __CPCI405_H__
#define __CPCI405_H__ #define __CPCI405_H__
#include <linux/config.h>
#include <platforms/4xx/ibm405gp.h> #include <platforms/4xx/ibm405gp.h>
#include <asm/ppcboot.h> #include <asm/ppcboot.h>