Don't include linux/config.h from anywhere else in include/

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse
2006-04-26 12:56:16 +01:00
parent 089f26d5e3
commit 62c4f0a2d5
836 changed files with 0 additions and 839 deletions

View File

@@ -115,7 +115,6 @@ struct acct_v3
#ifdef __KERNEL__
#include <linux/config.h>
#ifdef CONFIG_BSD_PROCESS_ACCT
struct vfsmount;

View File

@@ -25,7 +25,6 @@
#ifndef _LINUX_ACPI_H
#define _LINUX_ACPI_H
#include <linux/config.h>
#ifdef CONFIG_ACPI

View File

@@ -9,7 +9,6 @@
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/config.h>
#include <linux/fb.h>
/*

View File

@@ -209,7 +209,6 @@ struct atm_cirange {
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/wait.h> /* wait_queue_head_t */
#include <linux/time.h> /* struct timeval */
#include <linux/net.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_BLKDEV_H
#define _LINUX_BLKDEV_H
#include <linux/config.h>
#include <linux/major.h>
#include <linux/genhd.h>
#include <linux/list.h>

View File

@@ -1,7 +1,6 @@
#ifndef BLKTRACE_H
#define BLKTRACE_H
#include <linux/config.h>
#include <linux/blkdev.h>
#include <linux/relay.h>

View File

@@ -6,7 +6,6 @@
* Simple hashed spinlocking.
*/
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/cache.h>

View File

@@ -2,7 +2,6 @@
#define __LINUX_CACHE_H
#include <linux/kernel.h>
#include <linux/config.h>
#include <asm/cache.h>
#ifndef L1_CACHE_ALIGN

View File

@@ -59,7 +59,6 @@ Mellon the rights to redistribute these changes without encumbrance.
#ifndef _CODA_HEADER_
#define _CODA_HEADER_
#include <linux/config.h>
/* Catch new _KERNEL defn for NetBSD and DJGPP/__CYGWIN32__ */
#if defined(__NetBSD__) || \

View File

@@ -4,7 +4,6 @@
* These are the type definitions for the architecture specific
* syscall compatibility layer.
*/
#include <linux/config.h>
#ifdef CONFIG_COMPAT

View File

@@ -15,7 +15,6 @@
#define _LINUX_CPUFREQ_H
#include <linux/mutex.h>
#include <linux/config.h>
#include <linux/notifier.h>
#include <linux/threads.h>
#include <linux/device.h>

View File

@@ -17,7 +17,6 @@
#ifndef _LINUX_CRYPTO_H
#define _LINUX_CRYPTO_H
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>

View File

@@ -24,7 +24,6 @@
* 1998/08/08 acme Version 0.0.1
*/
#include <linux/config.h>
#include <linux/wanrouter.h>
#include <linux/spinlock.h>

View File

@@ -9,7 +9,6 @@
#ifndef DCOOKIES_H
#define DCOOKIES_H
#include <linux/config.h>
#ifdef CONFIG_PROFILING

View File

@@ -2,7 +2,6 @@
#define _LINUX_DEVFS_FS_KERNEL_H
#include <linux/fs.h>
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/types.h>

View File

@@ -11,7 +11,6 @@
#ifndef _DEVICE_H_
#define _DEVICE_H_
#include <linux/config.h>
#include <linux/ioport.h>
#include <linux/kobject.h>
#include <linux/klist.h>

View File

@@ -2,7 +2,6 @@
#define __DMI_H__
#include <linux/list.h>
#include <linux/config.h>
enum dmi_field {
DMI_NONE,

View File

@@ -18,7 +18,6 @@ struct dnotify_struct {
#ifdef __KERNEL__
#include <linux/config.h>
#ifdef CONFIG_DNOTIFY

View File

@@ -21,7 +21,6 @@ struct sock_extended_err
#ifdef __KERNEL__
#include <linux/config.h>
#include <net/ip.h>
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
#include <linux/ipv6.h>

View File

@@ -6,7 +6,6 @@
* structures etc.
*/
#include <linux/config.h>
#include <linux/limits.h>
#include <linux/ioctl.h>

View File

@@ -35,7 +35,6 @@
#include <linux/mm.h>
#endif
#include <linux/types.h>
#include <linux/config.h>
#include <linux/mtio.h>
#define FT_SECTOR(x) (x+1) /* sector offset into real sector */

View File

@@ -4,7 +4,6 @@
#include <linux/mmzone.h>
#include <linux/stddef.h>
#include <linux/linkage.h>
#include <linux/config.h>
struct vm_area_struct;

View File

@@ -1,7 +1,6 @@
#ifndef LINUX_HARDIRQ_H
#define LINUX_HARDIRQ_H
#include <linux/config.h>
#include <linux/preempt.h>
#include <linux/smp_lock.h>
#include <asm/hardirq.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_HIGHMEM_H
#define _LINUX_HIGHMEM_H
#include <linux/config.h>
#include <linux/fs.h>
#include <linux/mm.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_HIGHUID_H
#define _LINUX_HIGHUID_H
#include <linux/config.h>
#include <linux/types.h>
/*

View File

@@ -6,7 +6,6 @@
* Copyright (C) 1994-2002 Linus Torvalds & authors
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/hdreg.h>

View File

@@ -24,7 +24,6 @@
#ifndef _FRAD_H_
#define _FRAD_H_
#include <linux/config.h>
#include <linux/if.h>
#if defined(CONFIG_DLCI) || defined(CONFIG_DLCI_MODULE)

View File

@@ -43,7 +43,6 @@ struct trh_hdr {
};
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/skbuff.h>
static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_INIT_H
#define _LINUX_INIT_H
#include <linux/config.h>
#include <linux/compiler.h>
/* These macros are used to mark some functions or

View File

@@ -67,7 +67,6 @@ struct inotify_event {
#include <linux/dcache.h>
#include <linux/fs.h>
#include <linux/config.h>
#ifdef CONFIG_INOTIFY

View File

@@ -2,7 +2,6 @@
#ifndef _LINUX_INTERRUPT_H
#define _LINUX_INTERRUPT_H
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/linkage.h>
#include <linux/bitops.h>

View File

@@ -1,7 +1,6 @@
#ifndef _IPV6_H
#define _IPV6_H
#include <linux/config.h>
#include <linux/in6.h>
#include <asm/byteorder.h>

View File

@@ -9,7 +9,6 @@
* Thanks. --rmk
*/
#include <linux/config.h>
#include <linux/smp.h>
#if !defined(CONFIG_S390)

View File

@@ -9,7 +9,6 @@
* Keith Owens <kaos@ocs.com.au> July 2000.
*/
#include <linux/config.h>
/*
* Simple wrappers reducing source bloat. Define all irq_stat fields

View File

@@ -22,7 +22,6 @@
#ifndef LINUX_ISAPNP_H
#define LINUX_ISAPNP_H
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/pnp.h>

View File

@@ -146,7 +146,6 @@ typedef struct {
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/major.h>

View File

@@ -67,7 +67,6 @@ struct isdn_ppp_comp_data {
#ifdef __KERNEL__
#include <linux/config.h>
#ifdef CONFIG_IPPP_FILTER
#include <linux/filter.h>

View File

@@ -54,7 +54,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/skbuff.h>
/***************************************************************************/

View File

@@ -5,7 +5,6 @@
#ifndef _LINUX_KALLSYMS_H
#define _LINUX_KALLSYMS_H
#include <linux/config.h>
#define KSYM_NAME_LEN 127

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_KERNEL_STAT_H
#define _LINUX_KERNEL_STAT_H
#include <linux/config.h>
#include <asm/irq.h>
#include <linux/smp.h>
#include <linux/threads.h>

View File

@@ -20,7 +20,6 @@
*/
#include <linux/stddef.h>
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/compiler.h>

View File

@@ -29,7 +29,6 @@
* <jkenisto@us.ibm.com> and Prasanna S Panchamukhi
* <prasanna@in.ibm.com> added function-return probes.
*/
#include <linux/config.h>
#include <linux/list.h>
#include <linux/notifier.h>
#include <linux/smp.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_LINKAGE_H
#define _LINUX_LINKAGE_H
#include <linux/config.h>
#include <asm/linkage.h>
#ifdef __cplusplus

View File

@@ -11,7 +11,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/in.h>
#include <linux/fs.h>
#include <linux/kref.h>

View File

@@ -9,7 +9,6 @@
#ifndef LINUX_LOCKD_NLM_H
#define LINUX_LOCKD_NLM_H
#include <linux/config.h>
/* Maximum file offset in file_lock.fl_end */
# define NLM_OFFSET_MAX ((s32) 0x7fffffff)

View File

@@ -28,7 +28,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/mmzone.h>
#include <linux/slab.h>
#include <linux/rbtree.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_MIGRATE_H
#define _LINUX_MIGRATE_H
#include <linux/config.h>
#include <linux/mm.h>
#ifdef CONFIG_MIGRATION

View File

@@ -7,7 +7,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/gfp.h>
#include <linux/list.h>
#include <linux/mmzone.h>

View File

@@ -11,7 +11,6 @@
#define OVERCOMMIT_NEVER 2
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/mm.h>
#include <asm/atomic.h>

View File

@@ -4,7 +4,6 @@
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/wait.h>

View File

@@ -6,7 +6,6 @@
* Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
* Rewritten again by Rusty Russell, 2002
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/list.h>

View File

@@ -7,7 +7,6 @@
#ifndef __MTD_CFI_H__
#define __MTD_CFI_H__
#include <linux/config.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/interrupt.h>

View File

@@ -5,7 +5,6 @@
#ifndef __LINUX_MTD_MAP_H__
#define __LINUX_MTD_MAP_H__
#include <linux/config.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/string.h>

View File

@@ -13,7 +13,6 @@
#error This is a kernel header. Perhaps include mtd-user.h instead?
#endif
#include <linux/config.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/uio.h>

View File

@@ -56,7 +56,6 @@
#ifndef __LINUX_MTD_NAND_H
#define __LINUX_MTD_NAND_H
#include <linux/config.h>
#include <linux/wait.h>
#include <linux/spinlock.h>
#include <linux/mtd/mtd.h>

View File

@@ -16,7 +16,6 @@
#ifndef __LINUX_MTD_PHYSMAP__
#include <linux/config.h>
#if defined(CONFIG_MTD_PHYSMAP)

View File

@@ -18,7 +18,6 @@
#ifndef __LINUX_MTD_XIP_H__
#define __LINUX_MTD_XIP_H__
#include <linux/config.h>
#ifdef CONFIG_MTD_XIP

View File

@@ -18,7 +18,6 @@
#ifndef _LINUX_NET_H
#define _LINUX_NET_H
#include <linux/config.h>
#include <linux/wait.h>
#include <asm/socket.h>

View File

@@ -34,7 +34,6 @@
#include <asm/cache.h>
#include <asm/byteorder.h>
#include <linux/config.h>
#include <linux/device.h>
#include <linux/percpu.h>

View File

@@ -40,7 +40,6 @@
#endif
#ifdef __KERNEL__
#include <linux/config.h>
#ifdef CONFIG_NETFILTER
extern void netfilter_init(void);

View File

@@ -5,7 +5,6 @@
* (C)2002 Rusty Russell IBM -- This code is GPL.
*/
#include <linux/config.h>
#include <linux/netfilter.h>
/* There is no PF_ARP. */

View File

@@ -4,7 +4,6 @@
/* bridge-specific defines for netfilter.
*/
#include <linux/config.h>
#include <linux/netfilter.h>
#if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER)
#include <asm/atomic.h>

View File

@@ -5,7 +5,6 @@
* (C)1998 Rusty Russell -- This code is GPL.
*/
#include <linux/config.h>
#include <linux/netfilter.h>
/* only for userspace compatibility */

View File

@@ -4,7 +4,6 @@
#include <linux/netfilter/nf_conntrack_common.h>
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/netfilter_ipv4/ip_conntrack_tuple.h>
#include <linux/bitops.h>
#include <linux/compiler.h>

View File

@@ -1,6 +1,5 @@
#ifndef _LISTHELP_H
#define _LISTHELP_H
#include <linux/config.h>
#include <linux/list.h>
/* Header to do more comprehensive job than linux/list.h; assume list

View File

@@ -10,7 +10,6 @@
#ifndef LINUX_NFSD_NFSD_H
#define LINUX_NFSD_NFSD_H
#include <linux/config.h>
#include <linux/types.h>
#include <linux/unistd.h>
#include <linux/dirent.h>

View File

@@ -16,7 +16,6 @@
#include <asm/types.h>
#ifdef __KERNEL__
# include <linux/config.h>
# include <linux/types.h>
# include <linux/string.h>
# include <linux/fs.h>

View File

@@ -11,7 +11,6 @@
#include <asm/types.h>
#ifdef __KERNEL__
# include <linux/config.h>
# include <linux/types.h>
# include <linux/in.h>
#endif

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_NUMA_H
#define _LINUX_NUMA_H
#include <linux/config.h>
#ifdef CONFIG_NODES_SHIFT
#define NODES_SHIFT CONFIG_NODES_SHIFT

View File

@@ -96,7 +96,6 @@ typedef enum {
/* The rest is for the kernel only */
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/jiffies.h>
#include <linux/proc_fs.h>
#include <linux/spinlock.h>

View File

@@ -47,7 +47,6 @@
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/config.h>
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/errno.h>

View File

@@ -6,7 +6,6 @@
* WARNING: these things are HUGE. 4 kbytes per counter on 32-way P4.
*/
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/smp.h>
#include <linux/threads.h>

View File

@@ -23,7 +23,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/list.h>
#include <asm/atomic.h>

View File

@@ -1,7 +1,6 @@
#ifndef __LINUX_PM_LEGACY_H__
#define __LINUX_PM_LEGACY_H__
#include <linux/config.h>
#ifdef CONFIG_PM_LEGACY

View File

@@ -6,7 +6,6 @@
* Copyright (C) 1998 Paul Mackerras.
*/
#include <linux/config.h>
#define PMU_DRIVER_VERSION 2

View File

@@ -6,7 +6,6 @@
* preempt_count (used for kernel preemption, interrupt count, etc.)
*/
#include <linux/config.h>
#include <linux/thread_info.h>
#include <linux/linkage.h>

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_PROC_FS_H
#define _LINUX_PROC_FS_H
#include <linux/config.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/spinlock.h>

View File

@@ -4,7 +4,6 @@
#ifdef __KERNEL__
#include <linux/kernel.h>
#include <linux/config.h>
#include <linux/init.h>
#include <linux/cpumask.h>
#include <asm/errno.h>

View File

@@ -10,7 +10,6 @@
#ifndef _LINUX_QUOTAOPS_
#define _LINUX_QUOTAOPS_
#include <linux/config.h>
#include <linux/smp_lock.h>
#include <linux/fs.h>

View File

@@ -2,7 +2,6 @@
File: linux/reiserfs_xattr.h
*/
#include <linux/config.h>
#include <linux/xattr.h>
/* Magic value in header */

View File

@@ -10,7 +10,6 @@
#ifndef _LINUX_RELAY_H
#define _LINUX_RELAY_H
#include <linux/config.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/wait.h>

View File

@@ -17,7 +17,6 @@
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/config.h>
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/errno.h>

View File

@@ -16,7 +16,6 @@
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/config.h>
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/errno.h>

View File

@@ -4,7 +4,6 @@
* Declarations for Reverse Mapping functions in mm/rmap.c
*/
#include <linux/config.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/mm.h>

View File

@@ -909,7 +909,6 @@ struct tcamsg
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/mutex.h>
extern size_t rtattr_strlcpy(char *dest, const struct rtattr *rta, size_t size);

View File

@@ -13,7 +13,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <asm/system.h>

View File

@@ -3,7 +3,6 @@
#ifndef _SCC_H
#define _SCC_H
#include <linux/config.h>
/* selection of hardware types */

View File

@@ -1,7 +1,6 @@
#ifndef _LINUX_SECCOMP_H
#define _LINUX_SECCOMP_H
#include <linux/config.h>
#ifdef CONFIG_SECCOMP

View File

@@ -26,7 +26,6 @@
* by Keith Owens and Andrea Arcangeli
*/
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/preempt.h>

View File

@@ -19,7 +19,6 @@
* For definitions of the flags field, see tty.h
*/
#include <linux/config.h>
#include <linux/termios.h>
#include <linux/workqueue.h>
#include <linux/interrupt.h>

View File

@@ -132,7 +132,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/compiler.h>
#include <linux/interrupt.h>
#include <linux/circ_buf.h>

View File

@@ -14,7 +14,6 @@
#ifndef _LINUX_SKBUFF_H
#define _LINUX_SKBUFF_H
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/time.h>

View File

@@ -11,7 +11,6 @@
typedef struct kmem_cache kmem_cache_t;
#include <linux/config.h> /* kmalloc_sizes.h needs CONFIG_ options */
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/types.h>

View File

@@ -6,7 +6,6 @@
* Alan Cox. <alan@redhat.com>
*/
#include <linux/config.h>
extern void cpu_idle(void);

View File

@@ -1,7 +1,6 @@
#ifndef __LINUX_SMPLOCK_H
#define __LINUX_SMPLOCK_H
#include <linux/config.h>
#ifdef CONFIG_LOCK_KERNEL
#include <linux/sched.h>
#include <linux/spinlock.h>

View File

@@ -46,7 +46,6 @@
* linux/spinlock.h: builds the final spin_*() APIs.
*/
#include <linux/config.h>
#include <linux/preempt.h>
#include <linux/linkage.h>
#include <linux/compiler.h>

View File

@@ -4,7 +4,6 @@
very heavy lock, which is equivalent to grabbing every spinlock
(and more). So the "read" side to such a lock is anything which
diables preeempt. */
#include <linux/config.h>
#include <linux/cpu.h>
#include <asm/system.h>

View File

@@ -11,7 +11,6 @@
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/msg_prot.h>
#include <linux/sunrpc/xdr.h>

View File

@@ -27,7 +27,6 @@
#define RPCDBG_ALL 0x7fff
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/timer.h>
#include <linux/workqueue.h>

View File

@@ -9,7 +9,6 @@
#ifndef _LINUX_SUNRPC_STATS_H
#define _LINUX_SUNRPC_STATS_H
#include <linux/config.h>
#include <linux/proc_fs.h>
struct rpc_stat {

Some files were not shown because too many files have changed in this diff Show More