From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH][XEN] public header: portability Date: Thu, 21 Aug 2008 11:18:41 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 21/8/08 11:15, "Keir Fraser" wrote: > On 21/8/08 11:03, "Christoph Egger" wrote: > >> Attached patch defines xen_*mb() macros for NetBSD. >> >> Signed-off-by: Christoph Egger > > Since this has presumably never worked unmodified for NetBSD, it's not a > compatibility issue. You should simply specify __XEN_INTERFACE_VERSION__ >= > 0x00030208 and fix up any small build breakages that this causes in the NetBSD > kernel sources. Actually I suspect you're not specifying __XEN_INTERFACE_VERSION__ at all right now. The easiest way to do so is to add it to your CPPFLAGS (-D__XEN_INTERFACE_VERSION__=), or NetBSD build system equivalent, then it definitely gets defined correctly everywhere that you include Xen public header files. -- Keir