Don't include linux/config.h from anywhere else in include/
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#ifndef __ASM_SH_BUG_H
|
||||
#define __ASM_SH_BUG_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef CONFIG_BUG
|
||||
/*
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* Copyright (C) 1999 by Kaz Kojima & Niibe Yutaka
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef __ASM_SH_DMA_MAPPING_H
|
||||
#define __ASM_SH_DMA_MAPPING_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/mm.h>
|
||||
#include <asm/scatterlist.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#define __ASM_SH_DMA_H
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/wait.h>
|
||||
#include <linux/sysdev.h>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#ifndef _ASM_FIXMAP_H
|
||||
#define _ASM_FIXMAP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/page.h>
|
||||
#ifdef CONFIG_HIGHMEM
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef __ASM_SH_HARDIRQ_H
|
||||
#define __ASM_SH_HARDIRQ_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/threads.h>
|
||||
#include <linux/irq.h>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Copyright (C) 2000 YAEGASHI Takeshi
|
||||
* Hitachi HD64461 companion chip support
|
||||
*/
|
||||
#include <linux/config.h>
|
||||
|
||||
/* Constants for PCMCIA mappings */
|
||||
#define HD64461_PCC_WINDOW 0x01000000
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
* Derived from <asm/hd64461.h> which bore the message:
|
||||
* Copyright (C) 2000 YAEGASHI Takeshi
|
||||
*/
|
||||
#include <linux/config.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define ide_default_io_ctl(base) (0)
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
* inb by default expands to _inb, but the machine specific code may
|
||||
* define it to __inb if it chooses.
|
||||
*/
|
||||
#include <linux/config.h>
|
||||
#include <asm/cache.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/addrspace.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/machvec.h>
|
||||
#include <asm/ptrace.h> /* for pt_regs */
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <linux/kd.h>
|
||||
#include <linux/config.h>
|
||||
#include <asm/machvec.h>
|
||||
|
||||
#ifdef CONFIG_SH_MPC1211
|
||||
|
||||
@@ -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 ,
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#ifndef _ASM_SH_MACHVEC_H
|
||||
#define _ASM_SH_MACHVEC_H 1
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#ifndef __SH_MACHVEC_INIT_H
|
||||
#define __SH_MACHVEC_INIT_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/*
|
||||
* In a GENERIC kernel, we have lots of these vectors floating about,
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#ifndef _ASM_MPC1211_DMA_H
|
||||
#define _ASM_MPC1211_DMA_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/spinlock.h> /* And spinlocks */
|
||||
#include <asm/io.h> /* need byte IO */
|
||||
#include <linux/delay.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __OVERDRIVE_H__
|
||||
#define __OVERDRIVE_H__
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
[ P4 control ] 0xE0000000
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/* PAGE_SHIFT determines the page size */
|
||||
#define PAGE_SHIFT 12
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* Copyright (C) 2002, 2003, 2004 Paul Mundt
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/pgtable-2level.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#ifndef _ASM_SERIAL_H
|
||||
#define _ASM_SERIAL_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#ifdef CONFIG_SH_EC3104
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#ifndef __ASM_SH_SMP_H
|
||||
#define __ASM_SH_SMP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/cpumask.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Copyright (C) 2002 Paul Mundt
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/*
|
||||
* switch_to() should switch tasks to task nr n, first
|
||||
|
||||
@@ -35,7 +35,6 @@ typedef unsigned long long __u64;
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
typedef __signed__ char s8;
|
||||
typedef unsigned char u8;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/config.h>
|
||||
#include <asm/cpu/watchdog.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user