提交 643aae14 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
上级 5d62314c
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifndef __ASM_ARCH_HARDWARE_H #ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H #define __ASM_ARCH_HARDWARE_H
#include <linux/config.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
/* /*
......
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
*/ */
#define PHYS_OFFSET (0x0c000000UL) #define PHYS_OFFSET (0x0c000000UL)
#include <linux/config.h>
/* Modified for S3C2400, by chc, 20010509 */ /* Modified for S3C2400, by chc, 20010509 */
#define RAM_IN_BANK_0 32*1024*1024 #define RAM_IN_BANK_0 32*1024*1024
#define RAM_IN_BANK_1 0 #define RAM_IN_BANK_1 0
......
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
#ifndef __ASM_ARM_ATOMIC_H #ifndef __ASM_ARM_ATOMIC_H
#define __ASM_ARM_ATOMIC_H #define __ASM_ARM_ATOMIC_H
#include <linux/config.h>
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#error SMP not supported #error SMP not supported
#endif #endif
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#if 0 /* XXX###XXX */ #if 0 /* XXX###XXX */
#include <linux/config.h>
#include <asm/arch/memory.h> #include <asm/arch/memory.h>
/* /*
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#ifndef __ASM_PROC_PTRACE_H #ifndef __ASM_PROC_PTRACE_H
#define __ASM_PROC_PTRACE_H #define __ASM_PROC_PTRACE_H
#include <linux/config.h>
#define USR26_MODE 0x00 #define USR26_MODE 0x00
#define FIQ26_MODE 0x01 #define FIQ26_MODE 0x01
#define IRQ26_MODE 0x02 #define IRQ26_MODE 0x02
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#ifndef __ASM_PROC_SYSTEM_H #ifndef __ASM_PROC_SYSTEM_H
#define __ASM_PROC_SYSTEM_H #define __ASM_PROC_SYSTEM_H
#include <linux/config.h>
/* /*
* Save the current interrupt enable state & disable IRQs * Save the current interrupt enable state & disable IRQs
*/ */
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* Copyright 1992, Linus Torvalds. * Copyright 1992, Linus Torvalds.
*/ */
#include <linux/config.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/system.h> #include <asm/system.h>
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#ifndef _M68K_BITOPS_H #ifndef _M68K_BITOPS_H
#define _M68K_BITOPS_H #define _M68K_BITOPS_H
#include <linux/config.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
extern void set_bit(int nr, volatile void *addr); extern void set_bit(int nr, volatile void *addr);
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
* Copyright 1992, Linus Torvalds. * Copyright 1992, Linus Torvalds.
*/ */
#include <linux/config.h>
#include <asm/byteorder.h> /* swab32 */ #include <asm/byteorder.h> /* swab32 */
#include <asm/system.h> /* save_flags */ #include <asm/system.h> /* save_flags */
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <asm/sgidefs.h> #include <asm/sgidefs.h>
#include <asm/system.h> #include <asm/system.h>
#include <linux/config.h>
/* /*
* clear_bit() doesn't provide any barrier for the compiler. * clear_bit() doesn't provide any barrier for the compiler.
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#ifndef _ASM_IO_H #ifndef _ASM_IO_H
#define _ASM_IO_H #define _ASM_IO_H
#include <linux/config.h>
#if 0 #if 0
#include <linux/pagemap.h> #include <linux/pagemap.h>
#endif #endif
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
#ifndef _ASM_PROCESSOR_H #ifndef _ASM_PROCESSOR_H
#define _ASM_PROCESSOR_H #define _ASM_PROCESSOR_H
#include <linux/config.h>
#include <asm/isadep.h> #include <asm/isadep.h>
#include <asm/cachectl.h> #include <asm/cachectl.h>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#ifndef _ASM_SYSTEM_H #ifndef _ASM_SYSTEM_H
#define _ASM_SYSTEM_H #define _ASM_SYSTEM_H
#include <linux/config.h>
#include <asm/sgidefs.h> #include <asm/sgidefs.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#if 0 #if 0
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <ppc_asm.tmpl> #include <ppc_asm.tmpl>
#include <ppc_defs.h> #include <ppc_defs.h>
#include <linux/config.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
#ifndef _ASM_PPC_ATOMIC_H_ #ifndef _ASM_PPC_ATOMIC_H_
#define _ASM_PPC_ATOMIC_H_ #define _ASM_PPC_ATOMIC_H_
#include <linux/config.h>
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
typedef struct { volatile int counter; } atomic_t; typedef struct { volatile int counter; } atomic_t;
#else #else
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#ifndef _PPC_BITOPS_H #ifndef _PPC_BITOPS_H
#define _PPC_BITOPS_H #define _PPC_BITOPS_H
#include <linux/config.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
extern void set_bit(int nr, volatile void *addr); extern void set_bit(int nr, volatile void *addr);
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#ifndef __ARCH_PPC_CACHE_H #ifndef __ARCH_PPC_CACHE_H
#define __ARCH_PPC_CACHE_H #define __ARCH_PPC_CACHE_H
#include <linux/config.h>
#include <asm/processor.h> #include <asm/processor.h>
/* bytes per L1 cache line */ /* bytes per L1 cache line */
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#ifndef _PPC_IO_H #ifndef _PPC_IO_H
#define _PPC_IO_H #define _PPC_IO_H
#include <linux/config.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#ifdef CONFIG_ADDR_MAP #ifdef CONFIG_ADDR_MAP
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
#ifndef _PPC_MMU_H_ #ifndef _PPC_MMU_H_
#define _PPC_MMU_H_ #define _PPC_MMU_H_
#include <linux/config.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* Hardware Page Table Entry */ /* Hardware Page Table Entry */
typedef struct _PTE { typedef struct _PTE {
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
*/ */
#define current_text_addr() ({ __label__ _l; _l: &&_l;}) #define current_text_addr() ({ __label__ _l; _l: &&_l;})
#include <linux/config.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/types.h> #include <asm/types.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* the PT_* values below. This simplifies arch/powerpc/kernel/ptrace.c. * the PT_* values below. This simplifies arch/powerpc/kernel/ptrace.c.
*/ */
#include <linux/config.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#ifdef CONFIG_PPC64BRIDGE #ifdef CONFIG_PPC64BRIDGE
#define PPC_REG unsigned long /*long*/ #define PPC_REG unsigned long /*long*/
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#ifndef __SPARC_CACHE_H__ #ifndef __SPARC_CACHE_H__
#define __SPARC_CACHE_H__ #define __SPARC_CACHE_H__
#include <linux/config.h>
#include <asm/processor.h> #include <asm/processor.h>
/* /*
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#ifndef _SPARC_PAGE_H #ifndef _SPARC_PAGE_H
#define _SPARC_PAGE_H #define _SPARC_PAGE_H
#include <linux/config.h>
#ifdef CONFIG_SUN4 #ifdef CONFIG_SUN4
#define PAGE_SHIFT 13 #define PAGE_SHIFT 13
#else #else
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#ifndef _HYMOD_H_ #ifndef _HYMOD_H_
#define _HYMOD_H_ #define _HYMOD_H_
#include <linux/config.h>
#ifdef CONFIG_8260 #ifdef CONFIG_8260
#include <asm/iopin_8260.h> #include <asm/iopin_8260.h>
#endif #endif
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef __CPM_8XX__ #ifndef __CPM_8XX__
#define __CPM_8XX__ #define __CPM_8XX__
#include <linux/config.h>
#include <asm/8xx_immap.h> #include <asm/8xx_immap.h>
/* CPM Command register. /* CPM Command register.
......
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* #include <linux/autoconf.h> */
#endif
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#define _LINUX_LINKAGE_H #define _LINUX_LINKAGE_H
#include <asm/linkage.h> #include <asm/linkage.h>
#include <linux/config.h>
#ifdef __cplusplus #ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C" #define CPP_ASMLINKAGE extern "C"
......
#ifndef _LINUX_TYPES_H #ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H #define _LINUX_TYPES_H
#ifdef __KERNEL__
#include <linux/config.h>
#endif
#include <linux/posix_types.h> #include <linux/posix_types.h>
#include <asm/types.h> #include <asm/types.h>
#include <stdbool.h> #include <stdbool.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册