So I started to move HYPERVISOR_grant_table_op from
arch/powerpc/platforms/xen/gttab.c to hcall.c. Well this looks like it
may not be the best idea.

The reason is that it calls a static function,
gnttab_pre_unmap_grant_ref, in gttab.c that would need to be added to
include/xen/gnttab.h, and this would be the only needed for power. Where
folks can be a bit annoyed by. Don't know if it is the best idea to move
this now? What do think guys think.

Having HYPERVISOR_grant_table_op in hcall.c would have all the
hypercalls in one place, but would require a nice ifdef in a header that
some have been know to take issue with.


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

Reply via email to