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

Re: [Xen-merge] First 6 patches

To: Chris Wright <chrisw@xxxxxxxx>
Subject: Re: [Xen-merge] First 6 patches
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Date: Fri, 5 Aug 2005 13:43:03 +0200
Cc: xen-merge <xen-merge@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 05 Aug 2005 11:41:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050805065814.GK7762@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-merge-request@lists.xensource.com?subject=help>
List-id: xen-merge <xen-merge.lists.xensource.com>
List-post: <mailto:xen-merge@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=unsubscribe>
References: <142260000.1123222102@[10.10.2.4]> <20050805065814.GK7762@xxxxxxxxxxxxxxxxxxx>
Sender: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Aug 04, 2005 at 11:58:14PM -0700, Chris Wright wrote:
> +#ifdef CONFIG_XEN
> +     if ((regs->xcs & 2) != 2)
> +#else
>       if ((regs->xcs & 3) != 3)
> +#endif
> 
> That change is all over the place.  That should be a macro value that's
> defined by the arch.  The only reason I didn't do that in the other
> patch I submitted is I couldn't think of a good name.  KERNEL_CS_PL?
> Something...at any rate, change should only be in header.  Also, I
> missed why the breakout of sigframe.h?  They are identical?  It's an
> unncessary change.

a user_mode(regs) macro is already is 2.6.13-rc4.
you can backport it (I submitted it for 2.6.12, so not really a backport),
that would not be too much problem when applying a 2.6.13 patch.

-- 
Vincent Hanquez

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

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