WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel][PATCH] Cancel BUILD_BUG_ON check because it has not been

To: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Subject: Re: [Xen-devel][PATCH] Cancel BUILD_BUG_ON check because it has not been defined at some kernel.h version
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 11 Dec 2008 11:23:00 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 11 Dec 2008 03:24:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <706158FABBBA044BAD4FE898A02E4BC21C53A6F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <706158FABBBA044BAD4FE898A02E4BC21C53A6F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2008-12-11 at 11:31 +0800, Liu, Jinsong wrote:
> Cancel BUILD_BUG_ON check because it has not been defined at some kernel.h 
> version.

Using an obviously Linux kernel-ish header from userspace like that is
pretty dodgy anyway and frowned upon by the kernel people.

If we want that functionality in our userspace tools we should define
the macro ourselves.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>