Permalink
Browse files

Remove all inclusions of <linux/config.h>

kbuild explicitly includes this at build time.

Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information...
1 parent 78b656b commit 038b0a6d8d32db934bba6a24e74e76e4e327a94f @kernelslacker kernelslacker committed Oct 4, 2006
Showing with 11 additions and 199 deletions.
  1. +0 −1 arch/alpha/kernel/setup.c
  2. +0 −1 arch/alpha/kernel/systbls.S
  3. +0 −1 arch/arm/kernel/crunch.c
  4. +0 −1 arch/arm/kernel/iwmmxt-notifier.c
  5. +0 −1 arch/arm/mach-at91rm9200/board-1arm.c
  6. +0 −1 arch/arm/mach-at91rm9200/board-carmeva.c
  7. +0 −1 arch/arm/mach-at91rm9200/board-eb9200.c
  8. +0 −1 arch/arm/mach-at91rm9200/board-kafa.c
  9. +0 −1 arch/arm/mach-at91rm9200/board-kb9202.c
  10. +0 −1 arch/arm/mach-ep93xx/edb9302.c
  11. +0 −1 arch/arm/mach-ep93xx/edb9312.c
  12. +0 −1 arch/arm/mach-ep93xx/edb9315.c
  13. +0 −1 arch/arm/mach-ep93xx/edb9315a.c
  14. +1 −1 arch/arm/mach-lh7a40x/clcd.c
  15. +0 −1 arch/arm/mach-lh7a40x/clocks.c
  16. +0 −1 arch/arm/mach-omap2/pm-domain.c
  17. +0 −1 arch/arm/mach-pnx4008/gpio.c
  18. +0 −1 arch/arm/mach-pnx4008/sleep.S
  19. +0 −1 arch/arm/mach-pnx4008/time.c
  20. +0 −1 arch/arm/mach-pxa/leds-trizeps4.c
  21. +0 −1 arch/arm/tools/gen-mach-types
  22. +0 −1 arch/arm26/lib/ecard.S
  23. +0 −1 arch/arm26/lib/io-acorn.S
  24. +0 −1 arch/frv/kernel/time.c
  25. +0 −1 arch/h8300/kernel/time.c
  26. +0 −1 arch/i386/lib/semaphore.S
  27. +0 −1 arch/m32r/mm/mmu.S
  28. +0 −1 arch/m68k/kernel/time.c
  29. +0 −1 arch/m68knommu/platform/532x/config.c
  30. +0 −2 arch/m68knommu/platform/68328/romvec.S
  31. +0 −2 arch/parisc/kernel/head.S
  32. +0 −1 arch/parisc/kernel/syscall.S
  33. +0 −1 arch/powerpc/platforms/83xx/mpc834x_itx.c
  34. +0 −1 arch/powerpc/platforms/85xx/mpc85xx_ads.h
  35. +0 −1 arch/powerpc/platforms/85xx/mpc85xx_cds.c
  36. +0 −2 arch/powerpc/platforms/cell/cbe_regs.c
  37. +0 −1 arch/powerpc/platforms/cell/ras.c
  38. +0 −1 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
  39. +0 −1 arch/powerpc/platforms/pasemi/setup.c
  40. +0 −1 arch/powerpc/platforms/pasemi/time.c
  41. +0 −1 arch/powerpc/sysdev/tsi108_dev.c
  42. +0 −1 arch/ppc/amiga/time.c
  43. +0 −1 arch/ppc/platforms/4xx/cpci405.h
  44. +0 −1 arch/s390/kernel/kprobes.c
  45. +0 −1 arch/sparc/kernel/ioport.c
  46. +0 −1 arch/sparc/kernel/of_device.c
  47. +0 −1 arch/sparc64/kernel/auxio.c
  48. +0 −1 arch/sparc64/kernel/of_device.c
  49. +0 −1 arch/sparc64/kernel/prom.c
  50. +0 −1 arch/um/drivers/hostaudio_kern.c
  51. +0 −1 arch/um/drivers/net_kern.c
  52. +0 −1 arch/um/drivers/slip_kern.c
  53. +0 −1 arch/um/drivers/ssl.c
  54. +0 −1 arch/um/drivers/stdio_console.c
  55. +0 −1 arch/um/drivers/ubd_kern.c
  56. +0 −1 arch/um/include/mconsole_kern.h
  57. +0 −2 arch/um/include/mode_kern.h
  58. +0 −1 arch/um/include/skas/mmu-skas.h
  59. +0 −1 arch/um/include/sysdep-ppc/ptrace.h
  60. +0 −1 arch/um/include/um_uaccess.h
  61. +0 −1 arch/um/kernel/init_task.c
  62. +0 −1 arch/um/kernel/irq.c
  63. +0 −1 arch/um/kernel/ksyms.c
  64. +0 −1 arch/um/kernel/signal.c
  65. +0 −1 arch/um/kernel/skas/mem.c
  66. +0 −1 arch/um/kernel/skas/mmu.c
  67. +0 −1 arch/um/kernel/skas/tlb.c
  68. +0 −1 arch/um/kernel/smp.c
  69. +0 −1 arch/um/kernel/sysrq.c
  70. +0 −1 arch/um/kernel/trap.c
  71. +0 −1 arch/um/kernel/tt/gdb_kern.c
  72. +0 −1 arch/um/kernel/tt/mem.c
  73. +0 −1 arch/um/kernel/um_arch.c
  74. +0 −1 arch/um/sys-i386/ldt.c
  75. +0 −1 arch/um/sys-i386/sysrq.c
  76. +0 −1 arch/um/sys-i386/tls.c
  77. +0 −1 arch/v850/kernel/time.c
  78. +0 −2 arch/x86_64/boot/video.S
  79. +0 −1 arch/x86_64/ia32/ia32_binfmt.c
  80. +0 −1 arch/x86_64/kernel/pci-calgary.c
  81. +0 −1 arch/x86_64/kernel/tce.c
  82. +0 −1 arch/x86_64/kernel/x8664_ksyms.c
  83. +1 −2 arch/x86_64/lib/copy_page.S
  84. +0 −1 arch/x86_64/lib/delay.c
  85. +1 −2 arch/x86_64/lib/memcpy.S
  86. +0 −1 arch/x86_64/lib/memset.S
  87. +0 −1 arch/x86_64/lib/thunk.S
  88. +0 −1 drivers/block/cciss.c
  89. +0 −1 drivers/block/cpqarray.c
  90. +0 −1 drivers/char/briq_panel.c
  91. +0 −1 drivers/char/ftape/lowlevel/fdc-io.c
  92. +0 −1 drivers/char/ftape/zftape/zftape-rw.c
  93. +0 −1 drivers/char/ftape/zftape/zftape-rw.h
  94. +0 −1 drivers/char/hw_random/ixp4xx-rng.c
  95. +0 −1 drivers/char/mspec.c
  96. +0 −1 drivers/char/nsc_gpio.c
  97. +0 −1 drivers/char/pcmcia/synclink_cs.c
  98. +0 −2 drivers/char/sx.c
  99. +0 −1 drivers/char/synclink.c
  100. +0 −1 drivers/char/watchdog/iTCO_wdt.c
  101. +0 −1 drivers/char/watchdog/omap_wdt.c
  102. +0 −1 drivers/char/watchdog/pcwd.c
  103. +0 −1 drivers/char/watchdog/pcwd_pci.c
  104. +0 −1 drivers/char/watchdog/pnx4008_wdt.c
  105. +0 −1 drivers/hwmon/w83791d.c
  106. +0 −1 drivers/i2c/busses/i2c-ocores.c
  107. +0 −1 drivers/ide/pci/generic.c
  108. +0 −1 drivers/ide/pci/jmicron.c
  109. +0 −1 drivers/ide/pci/rz1000.c
  110. +0 −1 drivers/infiniband/hw/ipath/ipath_mmap.c
  111. +0 −1 drivers/leds/leds-ams-delta.c
  112. +0 −1 drivers/net/arm/ep93xx_eth.c
  113. +0 −2 drivers/net/fs_enet/mii-fec.c
  114. +0 −2 drivers/net/pcnet32.c
  115. +0 −1 drivers/net/phy/fixed.c
  116. +0 −1 drivers/net/ucc_geth_phy.c
  117. +0 −1 drivers/rtc/rtc-max6902.c
  118. +0 −1 drivers/scsi/aic94xx/aic94xx_init.c
  119. +0 −1 drivers/scsi/imm.h
  120. +0 −1 drivers/scsi/ppa.h
  121. +0 −1 drivers/serial/cpm_uart/cpm_uart.h
  122. +0 −2 drivers/serial/netx-serial.c
  123. +0 −1 drivers/serial/sh-sci.c
  124. +0 −1 drivers/serial/sh-sci.h
  125. +0 −1 drivers/spi/spi_s3c24xx.c
  126. +0 −1 drivers/spi/spi_s3c24xx_gpio.c
  127. +0 −1 drivers/usb/core/generic.c
  128. +0 −1 drivers/usb/gadget/gmidi.c
  129. +0 −1 drivers/usb/host/u132-hcd.c
  130. +0 −1 drivers/usb/input/usbtouchscreen.c
  131. +0 −1 drivers/usb/misc/appledisplay.c
  132. +0 −1 drivers/usb/misc/ftdi-elan.c
  133. +0 −1 drivers/usb/misc/sisusbvga/sisusb.c
  134. +0 −1 drivers/usb/misc/sisusbvga/sisusb_con.c
  135. +0 −1 drivers/video/intelfb/intelfb_i2c.c
  136. +0 −1 fs/isofs/namei.c
  137. +0 −1 fs/nfs/client.c
  138. +0 −1 fs/nfs/getroot.c
  139. +0 −2 fs/nfs/namespace.c
  140. +0 −2 fs/nfs/nfs4namespace.c
  141. +0 −1 fs/nfs/nfsroot.c
  142. +0 −1 fs/nfs/super.c
  143. +0 −1 fs/reiserfs/file.c
  144. +0 −2 include/asm-arm/arch-lh7a40x/clocks.h
  145. +0 −1 include/asm-arm/pgtable-nommu.h
  146. +0 −2 include/asm-i386/alternative-asm.i
  147. +0 −1 include/asm-i386/frame.i
  148. +0 −1 include/asm-powerpc/irq.h
  149. +0 −1 include/asm-powerpc/pci-bridge.h
  150. +0 −1 include/asm-sparc64/compat_signal.h
  151. +0 −2 include/asm-x86_64/alternative-asm.i
  152. +1 −0 include/linux/config.h
  153. +0 −1 include/net/netdma.h
  154. +0 −1 init/do_mounts.h
  155. +0 −1 kernel/rtmutex-debug.c
  156. +0 −1 kernel/rtmutex-tester.c
  157. +0 −1 mm/filemap.h
  158. +0 −1 mm/slab.c
  159. +0 −1 mm/vmstat.c
  160. +0 −1 net/atm/lec.h
  161. +0 −1 net/core/fib_rules.c
  162. +0 −1 net/ipv6/fib6_rules.c
  163. +0 −1 net/ipv6/mip6.c
  164. +0 −1 sound/aoa/soundbus/sysfs.c
  165. +0 −1 sound/core/memory.c
  166. +0 −1 sound/oss/ac97_plugin_ad1980.c
  167. +0 −1 sound/oss/awe_wave.c
  168. +0 −1 sound/oss/cmpci.c
  169. +1 −2 sound/oss/forte.c
  170. +3 −4 sound/oss/gus_card.c
  171. +2 −3 sound/oss/gus_wave.c
  172. +0 −1 sound/oss/mad16.c
  173. +0 −1 sound/oss/maestro3.c
  174. +0 −1 sound/oss/maui.c
  175. +1 −2 sound/oss/wavfront.c
  176. +0 −1 sound/oss/ymfpci.c
  177. +0 −1 sound/oss/ymfpci.h
@@ -21,7 +21,6 @@
#include <linux/a.out.h>
#include <linux/screen_info.h>
#include <linux/delay.h>
-#include <linux/config.h> /* CONFIG_ALPHA_LCA etc */
#include <linux/mc146818rtc.h>
#include <linux/console.h>
#include <linux/cpu.h>
@@ -4,7 +4,6 @@
* The system call table.
*/
-#include <linux/config.h> /* CONFIG_OSF4_COMPAT */
#include <asm/unistd.h>
.data
@@ -10,7 +10,6 @@
*/
#include <linux/module.h>
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/signal.h>
@@ -15,7 +15,6 @@
*/
#include <linux/module.h>
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/signal.h>
@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -10,7 +10,6 @@
* your option) any later version.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -11,7 +11,6 @@
* your option) any later version.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -10,7 +10,6 @@
* your option) any later version.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -10,7 +10,6 @@
* your option) any later version.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
@@ -8,7 +8,7 @@
* version 2 as published by the Free Software Foundation.
*
*/
-#include <linux/config.h>
+
#include <linux/init.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
@@ -8,7 +8,6 @@
*
*/
-#include <linux/config.h>
#include <linux/cpufreq.h>
#include <asm/hardware.h>
#include <asm/arch/clocks.h>
@@ -15,7 +15,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/clk.h>
@@ -14,7 +14,6 @@
* or implied.
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
@@ -11,7 +11,6 @@
* or implied.
*/
-#include <linux/config.h>
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/hardware.h>
@@ -11,7 +11,6 @@
* or implied.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
@@ -10,7 +10,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/config.h>
#include <linux/init.h>
#include <asm/hardware.h>
@@ -28,7 +28,6 @@ END {
printf(" */\n\n");
printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
- printf("#include <linux/config.h>\n\n");
printf("#ifndef __ASSEMBLY__\n");
printf("/* The type of machine we're running on */\n");
printf("extern unsigned int __machine_arch_type;\n");
@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/config.h> /* for CONFIG_CPU_nn */
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/hardware.h>
@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/config.h> /* for CONFIG_CPU_nn */
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/hardware.h>
@@ -10,7 +10,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
@@ -16,7 +16,6 @@
* "A Kernel Model for Precision Timekeeping" by Dave Mills
*/
-#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched.h>
@@ -13,7 +13,6 @@
* rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org>
*/
-#include <linux/config.h>
#include <linux/linkage.h>
#include <asm/rwlock.h>
#include <asm/alternative-asm.i>
View
@@ -6,7 +6,6 @@
/* $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 <asm/assembler.h>
#include <asm/smp.h>
@@ -10,7 +10,6 @@
* "A Kernel Model for Precision Timekeeping" by Dave Mills
*/
-#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched.h>
@@ -17,7 +17,6 @@
/***************************************************************************/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/param.h>
@@ -10,8 +10,6 @@
* Copyright 2006 Greg Ungerer <gerg@snapgear.com>
*/
-#include <linux/config.h>
-
.global _start
.global _buserr
.global trap
@@ -12,8 +12,6 @@
* 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/psw.h>
#include <asm/pdc.h>
@@ -6,7 +6,6 @@
* thanks to Philipp Rumpf, Mike Shaver and various others
* sorry about the wall, puffin..
*/
-#include <linux/config.h> /* for CONFIG_SMP */
#include <asm/asm-offsets.h>
#include <asm/unistd.h>
@@ -11,7 +11,6 @@
* option) any later version.
*/
-#include <linux/config.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -18,7 +18,6 @@
#ifndef __MACH_MPC85XXADS_H
#define __MACH_MPC85XXADS_H
-#include <linux/config.h>
#include <linux/initrd.h>
#include <sysdev/fsl_soc.h>
@@ -11,7 +11,6 @@
* option) any later version.
*/
-#include <linux/config.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -6,8 +6,6 @@
* (c) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org>, IBM Corp.
*/
-
-#include <linux/config.h>
#include <linux/percpu.h>
#include <linux/types.h>
@@ -1,6 +1,5 @@
#define DEBUG
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/smp.h>
@@ -18,7 +18,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/pci.h>
@@ -22,7 +22,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/config.h>
#include <linux/time.h>
#include <asm/time.h>
@@ -9,7 +9,6 @@
* option) any later version.
*/
-#include <linux/config.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -1,4 +1,3 @@
-#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -13,7 +13,6 @@
#ifndef __CPCI405_H__
#define __CPCI405_H__
-#include <linux/config.h>
#include <platforms/4xx/ibm405gp.h>
#include <asm/ppcboot.h>
@@ -20,7 +20,6 @@
* s390 port, used ppc64 as template. Mike Grundy <grundym@us.ibm.com>
*/
-#include <linux/config.h>
#include <linux/kprobes.h>
#include <linux/ptrace.h>
#include <linux/preempt.h>
@@ -25,7 +25,6 @@
* <zaitcev> Sounds reasonable
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -1,4 +1,3 @@
-#include <linux/config.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -5,7 +5,6 @@
* Refactoring for unified NCR/PCIO support 2002 Eric Brower (ebrower@usa.net)
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -1,4 +1,3 @@
-#include <linux/config.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@ -15,7 +15,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
@@ -3,7 +3,6 @@
* Licensed under the GPL
*/
-#include "linux/config.h"
#include "linux/module.h"
#include "linux/init.h"
#include "linux/slab.h"
Oops, something went wrong.

0 comments on commit 038b0a6

Please sign in to comment.