diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-28 23:30:58 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-28 23:40:15 -0800 |
commit | b8d43cb504a94f1070159a37c8cb23008276eff3 (patch) | |
tree | 61d0ca65714b889c40892c8baf468278942b4fbc /arch/x86/boot | |
parent | 24fa9a9d6d70ef7ef7087dce472a8f43a9078da5 (diff) | |
download | op-kernel-dev-b8d43cb504a94f1070159a37c8cb23008276eff3.zip op-kernel-dev-b8d43cb504a94f1070159a37c8cb23008276eff3.tar.gz |
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@canb.auug.org.au>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Matt Fleming <matt@console-pimps.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Bowler <nbowler@elliptictech.com>
Link: http://lkml.kernel.org/r/20120229111322.9eb4b23ff1672e8853ad3b3b@canb.auug.org.au
Diffstat (limited to 'arch/x86/boot')
-rw-r--r-- | 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; |