From: David Vrabel Date: Thu, 30 Aug 2012 12:58:11 +0000 (+0100) Subject: xen/mm: return more precise error from xen_remap_domain_range() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~30^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69870a847856a1ba81f655a8633fce5f5b614730;p=pandora-kernel.git xen/mm: return more precise error from xen_remap_domain_range() Callers of xen_remap_domain_range() need to know if the remap failed because frame is currently paged out. So they can retry the remap later on. Return -ENOENT in this case. This assumes that the error codes returned by Xen are a subset of those used by the kernel. It is unclear if this is defined as part of the hypercall ABI. Acked-by: Andres Lagar-Cavilla Signed-off-by: David Vrabel Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed