From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC] external module: compatibility with older kernels (SMP and non SMP) Date: Tue, 18 Dec 2007 18:32:58 +0200 Message-ID: <4767F63A.9020701@qumranet.com> References: <20071218130023.GA19231@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Carlo Marcelo Arenas Belon Return-path: In-Reply-To: <20071218130023.GA19231@tapir> 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 Carlo Marcelo Arenas Belon wrote: > The following patch (which is composed of 3 different patches from a series) > has been validated to solve compilation issues observed with kvm-56 in x86 > with kernels older than 2.6.21 and are posted here for testing and debate. > > The main points accomplished (in the same sequence that the snippets) are : > > * kernel <= 2.6.16 doesn't define memcpy or strcmp before used by kvm_para.h > * complement f2601fd2874b94d14dfcb21a3e1b84d7f3262b17 reverting the inclusion > of io_apic.h which to simplify handling of older kernels > * kernel < 2.6.21 define MAX_IO_APICS to fix non SMP compilations > > Looks good, but please split into separate patches. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace