Re: [GIT PULL] x86/build changes for v3.4
From: H. Peter Anvin
Date: Thu Mar 22 2012 - 13:58:22 EST
On 03/22/2012 09:57 AM, Linus Torvalds wrote:
> Grr.
>
> This causes
>
> In file included from tools/include/tools/le_byteshift.h:4:0,
> from arch/x86/boot/tools/build.c:35:
> include/linux/types.h:13:2: warning: #warning "Attempt to use kernel
> headers from user space, see http://kernelnewbies.org/KernelHeaders"
>
> for my build. How come nobody noticed?
>
> Linus
>
Mystery explained: the above #warning only occurs when compiling without
O=, and all my test scripts use O=. I will work with Matt Fleming to
come up with a fix ASAP.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
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/