>>> On 06.11.18 at 20:14, <julien.gr...@arm.com> wrote: > From: Benjamin Sanda <ben.sa...@dornerworks.com> > > get_pg_owner() and put_pg_owner() will be necessary in a follow-up > commit to support xentrace on Arm. So move the helper to common code. > > Note that put_pg_owner() has been turned to a macro rather than static > inline because of inter-dependency between includes.
Could this be avoided by placing both in a different header, e.g. sched.h? Mid-term we should probably try to split out type (structure) declarations from sched.h, to make it easier to have full types available without having to respect other include dependencies. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel