Commit 643aae1406c93ddc64fcf8c136b47cdffd9c8ccd

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 5d62314c1d

include: delete include/linux/config.h

Linux Kernel abolished include/linux/config.h long time ago.
(around version v2.6.18..v2.6.19)

We don't need to provide Linux copatibility any more.

This commit deletes include/linux/config.h
and fixes source files not to include this.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 28 changed files with 0 additions and 46 deletions Side-by-side Diff

arch/arm/include/asm/arch-pxa/hardware.h
... ... @@ -18,7 +18,6 @@
18 18 #ifndef __ASM_ARCH_HARDWARE_H
19 19 #define __ASM_ARCH_HARDWARE_H
20 20  
21   -#include <linux/config.h>
22 21 #include <asm/mach-types.h>
23 22  
24 23 /*
arch/arm/include/asm/arch-s3c24x0/memory.h
... ... @@ -32,9 +32,6 @@
32 32 */
33 33 #define PHYS_OFFSET (0x0c000000UL)
34 34  
35   -#include <linux/config.h>
36   -
37   -
38 35 /* Modified for S3C2400, by chc, 20010509 */
39 36 #define RAM_IN_BANK_0 32*1024*1024
40 37 #define RAM_IN_BANK_1 0
arch/arm/include/asm/atomic.h
... ... @@ -16,8 +16,6 @@
16 16 #ifndef __ASM_ARM_ATOMIC_H
17 17 #define __ASM_ARM_ATOMIC_H
18 18  
19   -#include <linux/config.h>
20   -
21 19 #ifdef CONFIG_SMP
22 20 #error SMP not supported
23 21 #endif
arch/arm/include/asm/memory.h
... ... @@ -14,7 +14,6 @@
14 14  
15 15 #if 0 /* XXX###XXX */
16 16  
17   -#include <linux/config.h>
18 17 #include <asm/arch/memory.h>
19 18  
20 19 /*
arch/arm/include/asm/proc-armv/ptrace.h
... ... @@ -10,8 +10,6 @@
10 10 #ifndef __ASM_PROC_PTRACE_H
11 11 #define __ASM_PROC_PTRACE_H
12 12  
13   -#include <linux/config.h>
14   -
15 13 #define USR26_MODE 0x00
16 14 #define FIQ26_MODE 0x01
17 15 #define IRQ26_MODE 0x02
arch/arm/include/asm/proc-armv/system.h
... ... @@ -10,8 +10,6 @@
10 10 #ifndef __ASM_PROC_SYSTEM_H
11 11 #define __ASM_PROC_SYSTEM_H
12 12  
13   -#include <linux/config.h>
14   -
15 13 /*
16 14 * Save the current interrupt enable state & disable IRQs
17 15 */
arch/blackfin/include/asm/bitops.h
... ... @@ -13,7 +13,6 @@
13 13 * Copyright 1992, Linus Torvalds.
14 14 */
15 15  
16   -#include <linux/config.h>
17 16 #include <asm/byteorder.h>
18 17 #include <asm/system.h>
19 18  
arch/m68k/include/asm/bitops.h
... ... @@ -5,7 +5,6 @@
5 5 #ifndef _M68K_BITOPS_H
6 6 #define _M68K_BITOPS_H
7 7  
8   -#include <linux/config.h>
9 8 #include <asm/byteorder.h>
10 9  
11 10 extern void set_bit(int nr, volatile void *addr);
arch/microblaze/include/asm/bitops.h
... ... @@ -5,7 +5,6 @@
5 5 * Copyright 1992, Linus Torvalds.
6 6 */
7 7  
8   -#include <linux/config.h>
9 8 #include <asm/byteorder.h> /* swab32 */
10 9 #include <asm/system.h> /* save_flags */
11 10  
arch/mips/include/asm/bitops.h
... ... @@ -16,7 +16,6 @@
16 16  
17 17 #include <asm/sgidefs.h>
18 18 #include <asm/system.h>
19   -#include <linux/config.h>
20 19  
21 20 /*
22 21 * clear_bit() doesn't provide any barrier for the compiler.
arch/mips/include/asm/io.h
... ... @@ -11,7 +11,6 @@
11 11 #ifndef _ASM_IO_H
12 12 #define _ASM_IO_H
13 13  
14   -#include <linux/config.h>
15 14 #if 0
16 15 #include <linux/pagemap.h>
17 16 #endif
arch/mips/include/asm/processor.h
... ... @@ -11,8 +11,6 @@
11 11 #ifndef _ASM_PROCESSOR_H
12 12 #define _ASM_PROCESSOR_H
13 13  
14   -#include <linux/config.h>
15   -
16 14 #include <asm/isadep.h>
17 15  
18 16 #include <asm/cachectl.h>
arch/mips/include/asm/system.h
... ... @@ -16,7 +16,6 @@
16 16 #ifndef _ASM_SYSTEM_H
17 17 #define _ASM_SYSTEM_H
18 18  
19   -#include <linux/config.h>
20 19 #include <asm/sgidefs.h>
21 20 #include <asm/ptrace.h>
22 21 #if 0
arch/powerpc/cpu/mpc5xx/start.S
... ... @@ -25,7 +25,6 @@
25 25 #include <ppc_asm.tmpl>
26 26 #include <ppc_defs.h>
27 27  
28   -#include <linux/config.h>
29 28 #include <asm/processor.h>
30 29 #include <asm/u-boot.h>
31 30  
arch/powerpc/include/asm/atomic.h
... ... @@ -5,8 +5,6 @@
5 5 #ifndef _ASM_PPC_ATOMIC_H_
6 6 #define _ASM_PPC_ATOMIC_H_
7 7  
8   -#include <linux/config.h>
9   -
10 8 #ifdef CONFIG_SMP
11 9 typedef struct { volatile int counter; } atomic_t;
12 10 #else
arch/powerpc/include/asm/bitops.h
... ... @@ -5,7 +5,6 @@
5 5 #ifndef _PPC_BITOPS_H
6 6 #define _PPC_BITOPS_H
7 7  
8   -#include <linux/config.h>
9 8 #include <asm/byteorder.h>
10 9  
11 10 extern void set_bit(int nr, volatile void *addr);
arch/powerpc/include/asm/cache.h
... ... @@ -4,7 +4,6 @@
4 4 #ifndef __ARCH_PPC_CACHE_H
5 5 #define __ARCH_PPC_CACHE_H
6 6  
7   -#include <linux/config.h>
8 7 #include <asm/processor.h>
9 8  
10 9 /* bytes per L1 cache line */
arch/powerpc/include/asm/io.h
... ... @@ -7,7 +7,6 @@
7 7 #ifndef _PPC_IO_H
8 8 #define _PPC_IO_H
9 9  
10   -#include <linux/config.h>
11 10 #include <asm/byteorder.h>
12 11  
13 12 #ifdef CONFIG_ADDR_MAP
arch/powerpc/include/asm/mmu.h
... ... @@ -5,8 +5,6 @@
5 5 #ifndef _PPC_MMU_H_
6 6 #define _PPC_MMU_H_
7 7  
8   -#include <linux/config.h>
9   -
10 8 #ifndef __ASSEMBLY__
11 9 /* Hardware Page Table Entry */
12 10 typedef struct _PTE {
arch/powerpc/include/asm/processor.h
... ... @@ -7,8 +7,6 @@
7 7 */
8 8 #define current_text_addr() ({ __label__ _l; _l: &&_l;})
9 9  
10   -#include <linux/config.h>
11   -
12 10 #include <asm/ptrace.h>
13 11 #include <asm/types.h>
14 12  
arch/powerpc/include/asm/ptrace.h
... ... @@ -17,8 +17,6 @@
17 17 * the PT_* values below. This simplifies arch/powerpc/kernel/ptrace.c.
18 18 */
19 19  
20   -#include <linux/config.h>
21   -
22 20 #ifndef __ASSEMBLY__
23 21 #ifdef CONFIG_PPC64BRIDGE
24 22 #define PPC_REG unsigned long /*long*/
arch/sparc/include/asm/cache.h
... ... @@ -8,7 +8,6 @@
8 8 #ifndef __SPARC_CACHE_H__
9 9 #define __SPARC_CACHE_H__
10 10  
11   -#include <linux/config.h>
12 11 #include <asm/processor.h>
13 12  
14 13 /*
arch/sparc/include/asm/page.h
... ... @@ -10,7 +10,6 @@
10 10 #ifndef _SPARC_PAGE_H
11 11 #define _SPARC_PAGE_H
12 12  
13   -#include <linux/config.h>
14 13 #ifdef CONFIG_SUN4
15 14 #define PAGE_SHIFT 13
16 15 #else
... ... @@ -8,7 +8,6 @@
8 8 #ifndef _HYMOD_H_
9 9 #define _HYMOD_H_
10 10  
11   -#include <linux/config.h>
12 11 #ifdef CONFIG_8260
13 12 #include <asm/iopin_8260.h>
14 13 #endif
... ... @@ -20,7 +20,6 @@
20 20 #ifndef __CPM_8XX__
21 21 #define __CPM_8XX__
22 22  
23   -#include <linux/config.h>
24 23 #include <asm/8xx_immap.h>
25 24  
26 25 /* CPM Command register.
include/linux/config.h
1   -#ifndef _LINUX_CONFIG_H
2   -#define _LINUX_CONFIG_H
3   -
4   -/* #include <linux/autoconf.h> */
5   -
6   -#endif
include/linux/linkage.h
... ... @@ -10,7 +10,6 @@
10 10 #define _LINUX_LINKAGE_H
11 11  
12 12 #include <asm/linkage.h>
13   -#include <linux/config.h>
14 13  
15 14 #ifdef __cplusplus
16 15 #define CPP_ASMLINKAGE extern "C"
include/linux/types.h
1 1 #ifndef _LINUX_TYPES_H
2 2 #define _LINUX_TYPES_H
3 3  
4   -#ifdef __KERNEL__
5   -#include <linux/config.h>
6   -#endif
7   -
8 4 #include <linux/posix_types.h>
9 5 #include <asm/types.h>
10 6 #include <stdbool.h>