2006-08-10 20:24:23

by Dave Jones

[permalink] [raw]
Subject: remove config.h includes from asm-i386 & asm-x86_64

This is now automatically included by kbuild.

Signed-off-by: Dave Jones <[email protected]>

--- linux-2.6.17.noarch/include/asm-i386/tsc.h~ 2006-08-10 16:10:24.000000000 -0400
+++ linux-2.6.17.noarch/include/asm-i386/tsc.h 2006-08-10 16:10:28.000000000 -0400
@@ -6,7 +6,6 @@
#ifndef _ASM_i386_TSC_H
#define _ASM_i386_TSC_H

-#include <linux/config.h>
#include <asm/processor.h>

/*
--- linux-2.6.17.noarch/include/asm-i386/dwarf2.h~ 2006-08-10 16:10:52.000000000 -0400
+++ linux-2.6.17.noarch/include/asm-i386/dwarf2.h 2006-08-10 16:10:56.000000000 -0400
@@ -1,8 +1,6 @@
#ifndef _DWARF2_H
#define _DWARF2_H

-#include <linux/config.h>
-
#ifndef __ASSEMBLY__
#warning "asm/dwarf2.h should be only included in pure assembly files"
#endif
--- linux-2.6.17.noarch/include/asm-x86_64/calgary.h~ 2006-08-10 16:11:27.000000000 -0400
+++ linux-2.6.17.noarch/include/asm-x86_64/calgary.h 2006-08-10 16:11:31.000000000 -0400
@@ -24,7 +24,6 @@
#ifndef _ASM_X86_64_CALGARY_H
#define _ASM_X86_64_CALGARY_H

-#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>

--
http://www.codemonkey.org.uk


2006-08-11 04:12:42

by Andi Kleen

[permalink] [raw]
Subject: Re: remove config.h includes from asm-i386 & asm-x86_64

On Thursday 10 August 2006 22:13, Dave Jones wrote:
> This is now automatically included by kbuild.

Added thanks.
-Andi