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: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [XenPPC] [pushed] [ppc] support "version" hcalls, and hcalls from 32-bit userland
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Fri, 19 May 2006 17:28:12 -0400
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 19 May 2006 14:28:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148069840.17781.11.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <1148069840.17781.11.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.


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)

-JX



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