Re: [PATCH] x86, build: remove unused include

From: Andreas Bießmann
Date: Thu Mar 22 2012 - 06:17:45 EST


On Wed, Feb 15, 2012 at 05:49:49PM +0100, Andreas Bießmann wrote:
> 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.
>
> Signed-off-by: Andreas Bießmann <andreas@xxxxxxxxxxxx>
> ---
> arch/x86/boot/tools/build.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c
> index 4e9bd6b..52628cd 100644
> --- a/arch/x86/boot/tools/build.c
> +++ b/arch/x86/boot/tools/build.c
> @@ -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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/