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-ppc-devel

Re: [XenPPC] [pushed] [ppc] support "version" hcalls, and hcalls from 32

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [XenPPC] [pushed] [ppc] support "version" hcalls, and hcalls from 32-bit userland
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Mon, 22 May 2006 10:37:05 -0500
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 May 2006 08:36:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A9C69114-7F54-4D05-88F3-7435925954B7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <1148069840.17781.11.camel@xxxxxxxxxxxxxxxxxxxxx> <A9C69114-7F54-4D05-88F3-7435925954B7@xxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-05-19 at 17:28 -0400, Jimi Xenidis wrote:
> On May 19, 2006, at 4:17 PM, Hollis Blanchard wrote:
> 
> > diff -r 11e1dcb7a976 -r de3e1e3bba22 arch/powerpc/platforms/xen/ 
> > hcall.c
> [...]
> > +
> > +   switch (hypercall->arg[0]) {
> > +           case XENVER_version:
> 
> NIT: I've been meaning to ask you this, tho not documented, I've  
> always thought the "style" was to put "switch" and "case" on the same  
> column?  It seesm to be the convention for both linux and xen.
> If its ambiguous I'd like to suggest that they shall be on the same col.

Lindent formats it like that, so that's fine with me.

> > diff -r 11e1dcb7a976 -r de3e1e3bba22 fs/compat_ioctl.c
> 
> The next to lines should be guarded by #ifdef CONFIG_XEN
> > +#include <xen/interface/xen.h>
> > +#include <xen/public/privcmd.h>
> >
> 
> next line should be guarded by #ifdef IOCTL_PRIVCMD_HYPERCALL
> > +COMPATIBLE_IOCTL(IOCTL_PRIVCMD_HYPERCALL)

ifdef usage is very inconsistent in that file (have a look), but I can
add these.

-- 
Hollis Blanchard
IBM Linux Technology Center


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