From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753951Ab2CVR6Y (ORCPT ); Thu, 22 Mar 2012 13:58:24 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40428 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751138Ab2CVR6W (ORCPT ); Thu, 22 Mar 2012 13:58:22 -0400 Message-ID: <4F6B682E.4060409@zytor.com> Date: Thu, 22 Mar 2012 10:58:06 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: Linus Torvalds CC: Ingo Molnar , linux-kernel@vger.kernel.org, Thomas Gleixner , Andrew Morton , Matt Fleming Subject: Re: [GIT PULL] x86/build changes for v3.4 References: <20120319163015.GA9988@gmail.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.