From: Ian Campbell Subject: Re: [RFC v3 1/6] xen/arm: Add basic save/restore support for ARM Date: Wed, 14 May 2014 11:27:42 +0100 Message-ID: <1400063262.29366.11.camel@kazak.uk.xensource.com> References: <1399583908-21755-1-git-send-email-w1.huang@samsung.com> <1399583908-21755-2-git-send-email-w1.huang@samsung.com> <536C010A.8010509@citrix.com> <536C0329.50901@samsung.com> <536C9837.60000@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <536C9837.60000@linaro.org> 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: Wei Huang , tim@xen.org, keir@xen.org, stefano.stabellini@eu.citrix.com, Andrew Cooper , ian.jackson@eu.citrix.com, jaeyong.yoo@samsung.com, xen-devel@lists.xen.org, jbeulich@suse.com, yjhyun.yoo@samsung.com List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-09 at 09:56 +0100, Julien Grall wrote: > >> This header file isn't touched by any subsequent patches, and just > >> having it as a list of includes is overkill. Can it be dropped? 5 > >> extra includes in a few .c files is hardly breaking the bank. > > Last time I tried it quickly, the compilation broke. Will try again. > > This header is used in common code (xen/common/hvm/save.c). It might be > better on have a dummy header. It's used exactly twice in common code, xen/common/hvm/save.c and xen/drivers/passthrough/io.c. I'm not sure which functionality from this header these guys are using but it can't be much (or the arm version would be bigger). I think it's probably better to just eliminate this asm include from common code. Ian.