From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756696AbYBJLPj (ORCPT ); Sun, 10 Feb 2008 06:15:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754510AbYBJLPa (ORCPT ); Sun, 10 Feb 2008 06:15:30 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:36080 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754188AbYBJLP3 (ORCPT ); Sun, 10 Feb 2008 06:15:29 -0500 Date: Sun, 10 Feb 2008 12:15:25 +0100 From: Olaf Hering To: Avi Kivity , linux-kernel@vger.kernel.org Subject: Re: KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM Message-ID: <20080210111525.GA28522@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Currently, make headers_check barfs due to , which > includes, not existing. Rather than add a zillion s, export kvm.h > only if the arch actually supports it. This makes headers_install_all unreliable. linux/kvm.h will not be exported, depending on what system the libc headers will be generated. Please revert fb56dbb31c4738a3918db81fd24da732ce3b4ae6 and find a different way to run make headers_check successfully. Similar CONFIG_* usage is in include/asm-cris/Kbuild. Fortunately, its not relevant in practice.