From: Ian Campbell Subject: Re: [PATCH 1/3] Do not use DEFINE_RWLOCK Macro Date: Wed, 29 Aug 2007 19:37:37 +0100 Message-ID: <1188412657.8719.5.camel@cthulhu.hellion.org.uk> References: <46D5B8D5.8030605@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46D5B8D5.8030605@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ben Guthro Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2007-08-29 at 14:20 -0400, Ben Guthro wrote: > Do not use the DEFINE_RWLOCK macro, as it is not available when compiled > against older kernels, such as SLES9's 2.6.5 Things like this should generally be done by adding a suitably guarded definition of DEFINE_RWLOCK to the platform-compat.h header in unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h. Ian.