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

Reply via email to