From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] Remove unnecessary linux/kvm.h include Date: Tue, 29 Jan 2008 19:02:56 -0600 Message-ID: <479FCCC0.8080903@us.ibm.com> References: <1201650682-23855-1-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Avi Kivity To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: <1201650682-23855-1-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This patch sucks. Let me finish up playing around with this stuff and I'll send out a better one. Regards, Anthony Liguori Anthony Liguori wrote: > This removes an unnecessary include of linux/kvm.h which happens to silence > a warning introduced by my previous patch :-) > > Signed-off-by: Anthony Liguori > > diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c > index d798841..048054b 100644 > --- a/libkvm/libkvm.c > +++ b/libkvm/libkvm.c > @@ -18,12 +18,6 @@ > #define __user /* temporary, until installed via make headers_install */ > #endif > > -#if defined(__i386__) || defined(__x86_64__) > -#define CONFIG_X86 > -#endif > - > -#include > - > #define EXPECTED_KVM_API_VERSION 12 > > #if EXPECTED_KVM_API_VERSION != KVM_API_VERSION > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/