Skip to content

Commit

Permalink
Don't include linux/config.h from anywhere else in include/
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
dwmw2 committed Apr 26, 2006
1 parent 089f26d commit 62c4f0a
Show file tree
Hide file tree
Showing 836 changed files with 0 additions and 839 deletions.
1 change: 0 additions & 1 deletion include/acpi/platform/aclinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ctype.h>
Expand Down
1 change: 0 additions & 1 deletion include/acpi/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define __ACPI_PROCESSOR_H

#include <linux/kernel.h>
#include <linux/config.h>

#include <asm/acpi.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/bitops.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_BITOPS_H
#define _ALPHA_BITOPS_H

#include <linux/config.h>
#include <asm/compiler.h>

/*
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#ifndef __ARCH_ALPHA_CACHE_H
#define __ARCH_ALPHA_CACHE_H

#include <linux/config.h>

/* Bytes per L1 (data) cache line. */
#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6)
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/cacheflush.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_CACHEFLUSH_H
#define _ALPHA_CACHEFLUSH_H

#include <linux/config.h>
#include <linux/mm.h>

/* Caches aren't brain-dead on the Alpha. */
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/core_cia.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/* Define to experiment with fitting everything into one 512MB HAE window. */
#define CIA_ONE_HAE_WINDOW 1

#include <linux/config.h>
#include <linux/types.h>
#include <asm/compiler.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/core_t2.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef __ALPHA_T2__H__
#define __ALPHA_T2__H__

#include <linux/config.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <asm/compiler.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/dma-mapping.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_DMA_MAPPING_H
#define _ALPHA_DMA_MAPPING_H

#include <linux/config.h>

#ifdef CONFIG_PCI

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef _ASM_DMA_H
#define _ASM_DMA_H

#include <linux/config.h>
#include <linux/spinlock.h>
#include <asm/io.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/floppy.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#ifndef __ASM_ALPHA_FLOPPY_H
#define __ASM_ALPHA_FLOPPY_H

#include <linux/config.h>

#define fd_inb(port) inb_p(port)
#define fd_outb(value,port) outb_p(value,port)
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/hardirq.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_HARDIRQ_H
#define _ALPHA_HARDIRQ_H

#include <linux/config.h>
#include <linux/threads.h>
#include <linux/cache.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/hw_irq.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_HW_IRQ_H
#define _ALPHA_HW_IRQ_H

#include <linux/config.h>

static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {}

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#ifdef __KERNEL__

#include <linux/config.h>

#define IDE_ARCH_OBSOLETE_DEFAULTS

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/kernel.h>
#include <asm/compiler.h>
#include <asm/system.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

#include <linux/linkage.h>
#include <linux/config.h>

#if defined(CONFIG_ALPHA_GENERIC)

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/kmap_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

/* Dummy header just to define km_type. */

#include <linux/config.h>

#ifdef CONFIG_DEBUG_HIGHMEM
# define D(n) __KM_FENCE_##n ,
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/machvec.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef __ALPHA_MACHVEC_H
#define __ALPHA_MACHVEC_H 1

#include <linux/config.h>
#include <linux/types.h>

/*
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* Copyright (C) 1996, Linus Torvalds
*/

#include <linux/config.h>
#include <asm/system.h>
#include <asm/machvec.h>
#include <asm/compiler.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef _ASM_MMZONE_H_
#define _ASM_MMZONE_H_

#include <linux/config.h>
#include <asm/smp.h>

struct bootmem_data_t; /* stupid forward decl. */
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/page.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_PAGE_H
#define _ALPHA_PAGE_H

#include <linux/config.h>
#include <asm/pal.h>

/* PAGE_SHIFT determines the page size */
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
hardware ignores reprogramming. We also need userland buy-in to the
change in HZ, since this is visible in the wait4 resources etc. */

#include <linux/config.h>

#ifndef HZ
# ifndef CONFIG_ALPHA_RAWHIDE
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/pgalloc.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_PGALLOC_H
#define _ALPHA_PGALLOC_H

#include <linux/config.h>
#include <linux/mm.h>
#include <linux/mmzone.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* This hopefully works with any standard Alpha page-size, as defined
* in <asm/page.h> (currently 8192).
*/
#include <linux/config.h>
#include <linux/mmzone.h>

#include <asm/page.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* include/asm-alpha/serial.h
*/

#include <linux/config.h>

/*
* This assumes you have a 1.8432 MHz clock for your UART.
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/smp.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef __ASM_SMP_H
#define __ASM_SMP_H

#include <linux/config.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/bitops.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/spinlock.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_SPINLOCK_H
#define _ALPHA_SPINLOCK_H

#include <linux/config.h>
#include <asm/system.h>
#include <linux/kernel.h>
#include <asm/current.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/system.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef __ALPHA_SYSTEM_H
#define __ALPHA_SYSTEM_H

#include <linux/config.h>
#include <asm/pal.h>
#include <asm/page.h>
#include <asm/barrier.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-alpha/tlbflush.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ALPHA_TLBFLUSH_H
#define _ALPHA_TLBFLUSH_H

#include <linux/config.h>
#include <linux/mm.h>
#include <asm/compiler.h>

Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/apm.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#ifndef ARM_ASM_SA1100_APM_H
#define ARM_ASM_SA1100_APM_H

#include <linux/config.h>
#include <linux/apm_bios.h>

/*
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-aaec2000/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

#include <linux/config.h>

#define PHYS_OFFSET UL(0xf0000000)

Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-cl7500/acornfb.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <linux/config.h>
#define acornfb_valid_pixrate(var) (var->pixclock >= 39325 && var->pixclock <= 40119)

static inline void
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-clps711x/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H

#include <linux/config.h>

#define CLPS7111_VIRT_BASE 0xff000000
#define CLPS7111_BASE CLPS7111_VIRT_BASE
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-clps711x/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

#include <linux/config.h>

/*
* Physical DRAM offset.
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-clps711x/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <asm/arch/io.h>
#include <asm/hardware.h>
#include <asm/hardware/clps7111.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-ebsa285/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H

#include <linux/config.h>
#include <asm/arch/memory.h>

#ifdef CONFIG_ARCH_FOOTBRIDGE
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-ebsa285/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

#include <linux/config.h>

#if defined(CONFIG_FOOTBRIDGE_ADDIN)
/*
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-ebsa285/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* published by the Free Software Foundation.
*/

#include <linux/config.h>

#ifdef CONFIG_ARCH_FOOTBRIDGE
#define VMALLOC_END (PAGE_OFFSET + 0x30000000)
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-integrator/smp.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef ASMARM_ARCH_SMP_H
#define ASMARM_ARCH_SMP_H

#include <linux/config.h>

#include <asm/hardware.h>
#include <asm/io.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-iop3xx/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

#include <linux/config.h>
#include <asm/hardware.h>

/*
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-iop3xx/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* IOP3xx architecture timex specifications
*/
#include <linux/config.h>
#include <asm/hardware.h>

#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-iop3xx/uncompress.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*
* linux/include/asm-arm/arch-iop3xx/uncompress.h
*/
#include <linux/config.h>
#include <asm/types.h>
#include <asm/mach-types.h>
#include <linux/serial_reg.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-ixp4xx/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#ifndef __ASM_ARCH_DMA_H
#define __ASM_ARCH_DMA_H

#include <linux/config.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <asm/page.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-lh7a40x/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef __ASM_ARCH_CONSTANTS_H
#define __ASM_ARCH_CONSTANTS_H

#include <linux/config.h>

/* Addressing constants */

Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-lh7a40x/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H

#include <linux/config.h>

#define FIQ_START 80

Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-lh7a40x/registers.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*
*/

#include <linux/config.h>
#include <asm/arch/constants.h>

#ifndef __ASM_ARCH_REGISTERS_H
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-omap/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#ifndef _OMAP_BOARD_H
#define _OMAP_BOARD_H

#include <linux/config.h>
#include <linux/types.h>

/* Different peripheral ids */
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-omap/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#define __ASM_ARCH_OMAP_HARDWARE_H

#include <asm/sizes.h>
#include <linux/config.h>
#ifndef __ASSEMBLER__
#include <asm/types.h>
#include <asm/arch/cpu.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-omap/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
#include <linux/config.h>
#include <linux/clk.h>

#include <asm/mach-types.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-omap/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* kind, whether express or implied.
*/

#include <linux/config.h>
#include <linux/types.h>
#include <linux/serial_reg.h>
#include <asm/arch/serial.h>
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/arch-pxa/idp.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* Changes for 2.6 kernel.
*/

#include <linux/config.h>

/*
* Note: this file must be safe to include in assembly files
Expand Down
Loading

0 comments on commit 62c4f0a

Please sign in to comment.