[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-b8d43cb504a94f1070159a37c8cb23008276eff3@git.kernel.org>
Date: Tue, 28 Feb 2012 23:49:38 -0800
From: "tip-bot for H. Peter Anvin" <hpa@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, nbowler@...iptictech.com,
hpa@...or.com, mingo@...hat.com, akpm@...ux-foundation.org,
matt@...sole-pimps.org, tglx@...utronix.de, sfr@...b.auug.org.au,
mingo@...e.hu
Subject: [tip:x86/build] x86, tools:
Remove unneeded header files from tools/build.c
Commit-ID: b8d43cb504a94f1070159a37c8cb23008276eff3
Gitweb: http://git.kernel.org/tip/b8d43cb504a94f1070159a37c8cb23008276eff3
Author: H. Peter Anvin <hpa@...or.com>
AuthorDate: Tue, 28 Feb 2012 23:30:58 -0800
Committer: H. Peter Anvin <hpa@...or.com>
CommitDate: Tue, 28 Feb 2012 23:40:15 -0800
x86, tools: Remove unneeded header files from tools/build.c
We include <sys/sysmacros.h> and <asm/boot.h>, but none of those
header files actually provide anything this file needs. Furthermore,
it breaks cross-compilation, so just remove them.
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Reported-by: Ingo Molnar <mingo@...e.hu>
Signed-off-by: H. Peter Anvin <hpa@...or.com>
Cc: Matt Fleming <matt@...sole-pimps.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Nick Bowler <nbowler@...iptictech.com>
Link: http://lkml.kernel.org/r/20120229111322.9eb4b23ff1672e8853ad3b3b@canb.auug.org.au
---
arch/x86/boot/tools/build.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c
index f2ac95e..f3bd2e6 100644
--- a/arch/x86/boot/tools/build.c
+++ b/arch/x86/boot/tools/build.c
@@ -29,11 +29,9 @@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
-#include <asm/boot.h>
#include <tools/le_byteshift.h>
typedef unsigned char u8;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists