x86, build: remove unused include
PATCH 1/1 x86, build: remove unused include
Commit 079f85e624189292d1c818b47764916bf8cf84a8 removed necessity for sys/sysmacros.h include but missed to remove the include.
Still requiring sys/sysmacros.h for build tool breaks cross compiling x86 kernel on non linux style systems which may not offer sys/sysmacros.h.
--- arch/x86/boot/tools/build.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/boot/tools/build.c +0 -1
@@ -29,7 +29,6 @@#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>
Signature · 1 line
1.7.9
Quoted 17 lines · Andreas Bießmann
Commit
079f85e624189292d1c818b47764916bf8cf84a8removed necessity forsys/sysmacros.hinclude but missed to remove the include.Still requiring
sys/sysmacros.hfor build tool breaks cross compiling x86 kernel on non linux style systems which may not offersys/sysmacros.h.Signed-off-by Andreas Bießmann <[email protected]>--- arch/x86/boot/tools/build.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)arch/x86/boot/tools/build.c +0
-0
arch/x86/boot/tools/build.c line 34
Quoted 7 lines
arch/x86/boot/tools/build.c +0
-1@@ -29,7 +29,6 @@#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>
are there any objections against that patch? could anyone take it if not?
H. Peter Anvin
reviewerQuoted 12 lines · Andreas Bießmann
Quoted 11 lines · Andreas Bießmann
Commit
079f85e624189292d1c818b47764916bf8cf84a8removed necessity forsys/sysmacros.hinclude but missed to remove the include.Still requiring
sys/sysmacros.hfor build tool breaks cross compiling x86 kernel on non linux style systems which may not offersys/sysmacros.h.Signed-off-by Andreas Bießmann <[email protected]>--- arch/x86/boot/tools/build.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Quoted 15 lines
arch/x86/boot/tools/build.c line 34
Quoted 13 lines
arch/x86/boot/tools/build.c +0
-1@@ -29,7 +29,6 @@#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> are there any objections against that patch? could anyone take it if not?
An equivalent patch has been in tip:x86/build for a while and was just pulled upstream by Linus.
Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Quoted 7 lines · H. Peter Anvin
Quoted 3 lines · Andreas Bießmann
Quoted 2 lines · Andreas Bießmann
Commit
079f85e624189292d1c818b47764916bf8cf84a8removed necessity forsys/sysmacros.hinclude but missed to remove the include.An equivalent patch has been in tip:x86/build for a while and was just pulled upstream by Linus.
sorry for the noise, I did only search for my patch in history and did not check the file.
regards
Andreas Bießmann