Don't include linux/config.h from anywhere else in include/
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
* This file contains M32R architecture specific macro definitions.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __STR
|
||||
#ifdef __ASSEMBLY__
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/assembler.h>
|
||||
#include <asm/system.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
* Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/assembler.h>
|
||||
#include <asm/system.h>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_M32R_CACHEFLUSH_H
|
||||
#define _ASM_M32R_CACHEFLUSH_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/mm.h>
|
||||
|
||||
extern void _flush_cache_all(void);
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#ifndef __ASM_HARDIRQ_H
|
||||
#define __ASM_HARDIRQ_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/threads.h>
|
||||
#include <linux/irq.h>
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef MAX_HWIFS
|
||||
# ifdef CONFIG_BLK_DEV_IDEPCI
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#ifndef _ASM_M32R_IRQ_H
|
||||
#define _ASM_M32R_IRQ_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_USRV)
|
||||
/*
|
||||
|
||||
@@ -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 ,
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _M32104UT_M32104UT_PLD_H
|
||||
#define _M32104UT_M32104UT_PLD_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if defined(CONFIG_PLAT_M32104UT)
|
||||
#define PLD_PLAT_BASE 0x02c00000
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _M32700UT_M32700UT_LAN_H
|
||||
#define _M32700UT_M32700UT_LAN_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _M32700UT_M32700UT_LCD_H
|
||||
#define _M32700UT_M32700UT_LCD_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _M32700UT_M32700UT_PLD_H
|
||||
#define _M32700UT_M32700UT_PLD_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if defined(CONFIG_PLAT_M32700UT_Alpha)
|
||||
#define PLD_PLAT_BASE 0x08c00000
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* Copyright (C) 2003, 2004 Renesas Technology Corp.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/* Chip type */
|
||||
#if defined(CONFIG_CHIP_XNUX_MP) || defined(CONFIG_CHIP_XNUX2_MP)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_M32R_MMU_H
|
||||
#define _ASM_M32R_MMU_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if !defined(CONFIG_MMU)
|
||||
typedef struct {
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#include <asm/m32r.h>
|
||||
|
||||
@@ -15,7 +14,6 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/pgalloc.h>
|
||||
#include <asm/mmu.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _OPSPUT_OPSPUT_LAN_H
|
||||
#define _OPSPUT_OPSPUT_LAN_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _OPSPUT_OPSPUT_LCD_H
|
||||
#define _OPSPUT_OPSPUT_LCD_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _OPSPUT_OPSPUT_PLD_H
|
||||
#define _OPSPUT_OPSPUT_PLD_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define PLD_PLAT_BASE 0x1cc00000
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_M32R_PAGE_H
|
||||
#define _ASM_M32R_PAGE_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/* PAGE_SHIFT determines the page size */
|
||||
#define PAGE_SHIFT 12
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/mm.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/*
|
||||
* traditional M32R two-level paging structure:
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/threads.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/addrspace.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/config.h>
|
||||
#include <asm/cache.h>
|
||||
#include <asm/ptrace.h> /* pt_regs */
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
* Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
|
||||
|
||||
/* 0 - 13 are integer registers (general purpose registers). */
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#define __RTC_H__
|
||||
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
/* Dallas DS1302 clock/calendar register numbers. */
|
||||
# define RTC_SECONDS 0
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
* Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/wait.h>
|
||||
#include <linux/rwsem.h>
|
||||
#include <asm/assembler.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
/* include/asm-m32r/serial.h */
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define BASE_BAUD 115200
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
struct sigcontext {
|
||||
/* CPU registers */
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h> /* CONFIG_DEBUG_SPINLOCK, CONFIG_SMP */
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
* Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org>
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/assembler.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* m32r architecture timex specifications
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
|
||||
#define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_M32R_TLBFLUSH_H
|
||||
#define _ASM_M32R_TLBFLUSH_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/m32r.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
/*
|
||||
* User space memory access functions
|
||||
*/
|
||||
#include <linux/config.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/thread_info.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
Reference in New Issue
Block a user