Don't include linux/config.h from anywhere else in include/
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#ifndef _SPARC_ASMMACRO_H
|
||||
#define _SPARC_ASMMACRO_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/btfixup.h>
|
||||
#include <asm/asi.h>
|
||||
|
||||
|
@@ -10,7 +10,6 @@
|
||||
#ifndef __ARCH_SPARC_ATOMIC__
|
||||
#define __ARCH_SPARC_ATOMIC__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
typedef struct { volatile int counter; } atomic_t;
|
||||
|
||||
|
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <asm/cpudata.h>
|
||||
#include <linux/config.h>
|
||||
|
||||
extern unsigned long loops_per_jiffy;
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#ifndef _SPARC_CACHEFLUSH_H
|
||||
#define _SPARC_CACHEFLUSH_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/mm.h> /* Common for other includes */
|
||||
// #include <linux/kernel.h> from pgalloc.h
|
||||
// #include <linux/sched.h> from pgalloc.h
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#ifndef __SPARC_DELAY_H
|
||||
#define __SPARC_DELAY_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/cpudata.h>
|
||||
|
||||
static inline void __delay(unsigned long loops)
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_SPARC_DMA_MAPPING_H
|
||||
#define _ASM_SPARC_DMA_MAPPING_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#include <asm-generic/dma-mapping.h>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#ifndef _ASM_SPARC_DMA_H
|
||||
#define _ASM_SPARC_DMA_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
|
@@ -6,7 +6,6 @@
|
||||
* ELF register definitions..
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
@@ -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
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#ifndef __SPARC_HARDIRQ_H
|
||||
#define __SPARC_HARDIRQ_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/threads.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/cache.h>
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/psr.h>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#ifndef _SPARC_IRQ_H
|
||||
#define _SPARC_IRQ_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/threads.h> /* For NR_CPUS */
|
||||
#include <linux/interrupt.h>
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#ifndef _SPARC_MOSTEK_H
|
||||
#define _SPARC_MOSTEK_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/idprom.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
@@ -8,7 +8,6 @@
|
||||
#ifndef _SPARC_PAGE_H
|
||||
#define _SPARC_PAGE_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#ifdef CONFIG_SUN4
|
||||
#define PAGE_SHIFT 13
|
||||
#else
|
||||
|
@@ -2,7 +2,6 @@
|
||||
#ifndef _SPARC_PGALLOC_H
|
||||
#define _SPARC_PGALLOC_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <asm-generic/4level-fixup.h>
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/swap.h>
|
||||
#include <asm/types.h>
|
||||
|
@@ -25,7 +25,6 @@
|
||||
#ifndef _SFP_MACHINE_H
|
||||
#define _SFP_MACHINE_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define _FP_W_TYPE_SIZE 32
|
||||
#define _FP_W_TYPE unsigned long
|
||||
|
@@ -6,7 +6,6 @@
|
||||
#ifndef _SPARC_SMP_H
|
||||
#define _SPARC_SMP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/threads.h>
|
||||
#include <asm/head.h>
|
||||
#include <asm/btfixup.h>
|
||||
|
@@ -1,10 +1,8 @@
|
||||
/* $Id: system.h,v 1.86 2001/10/30 04:57:10 davem Exp $ */
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __SPARC_SYSTEM_H
|
||||
#define __SPARC_SYSTEM_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/threads.h> /* NR_CPUS */
|
||||
#include <linux/thread_info.h>
|
||||
|
@@ -4,7 +4,6 @@
|
||||
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef _SPARC_TIMER_H
|
||||
#define _SPARC_TIMER_H
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#ifndef _SPARC_TLBFLUSH_H
|
||||
#define _SPARC_TLBFLUSH_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/mm.h>
|
||||
// #include <asm/processor.h>
|
||||
|
||||
|
@@ -8,7 +8,6 @@
|
||||
* Copyright (C) 1994, David S. Miller (davem@caip.rutgers.edu)
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/sysen.h>
|
||||
#include <asm/contregs.h>
|
||||
#include <asm/asi.h>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#ifndef _SPARC_WINMACRO_H
|
||||
#define _SPARC_WINMACRO_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
/* Store the register window onto the 8-byte aligned area starting
|
||||
|
Reference in New Issue
Block a user