From: Ian Campbell Subject: Re: [PATCH V2 07/33] xen/arm: Create a hierarchical device tree Date: Wed, 8 May 2013 14:52:22 +0100 Message-ID: <1368021142.17285.10.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano Stabellini , "patches@linaro.org" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-05-08 at 03:33 +0100, Julien Grall wrote: ... > - Use DOMID_XEN instead of DOMID_INVALID for DT_USED_BY_XEN > [...] > +struct dt_device_node { > + const char *name; > + const char *type; > + dt_phandle phandle; > + char *full_name; > + domid_t used_by; /* By default it's used by dom0 */ It occurred to me as I reviewed the rest of the series that since this actually a DOMID there is no reason not to use DOMID_XEN directly and remove DT_USED_BY_XEN. Ian.