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: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, "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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 11 Dec 2008 11:40:44 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 Dec 2008 03:41:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1228994580.19933.40.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclbhU0nfrs+lvQ83kmKd1NeVt2i0g==
Thread-topic: [Xen-devel][PATCH] Cancel BUILD_BUG_ON check because it has not been defined at some kernel.h version
User-agent: Microsoft-Entourage/12.14.0.081024
On 11/12/2008 11:23, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:

> 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.

I fixed these xc_pm.c issues independently already.

 -- Keir



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

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