projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fa9a9
)
x86, tools: Remove unneeded header files from tools/build.c
author
H. Peter Anvin
<
[email protected]
>
Wed, 29 Feb 2012 07:30:58 +0000
(23:30 -0800)
committer
H. Peter Anvin
<
[email protected]
>
Wed, 29 Feb 2012 07:40:15 +0000
(23:40 -0800)
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 <
[email protected]
>
Reported-by: Ingo Molnar <
[email protected]
>
Signed-off-by: H. Peter Anvin <
[email protected]
>
Cc: Matt Fleming <
[email protected]
>
Cc: Andrew Morton <
[email protected]
>
Cc: Nick Bowler <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
arch/x86/boot/tools/build.c
patch
|
blob
|
history
diff --git
a/arch/x86/boot/tools/build.c
b/arch/x86/boot/tools/build.c
index f2ac95ece0cc4fd6468cc42653fddde2c7f7110d..f3bd2e676d2a8204d4b5627a79fc6e0982bc3877 100644
(file)
--- 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;