From: Jeremy Fitzhardinge Date: Fri, 27 Aug 2010 20:42:04 +0000 (-0700) Subject: xen: add return value to set_phys_to_machine() X-Git-Tag: v2.6.37-rc1~93^3~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3798062f100c3e1d4ae1241bc536f3b1f28a6ca;p=pandora-kernel.git xen: add return value to set_phys_to_machine() set_phys_to_machine() can return false on failure, which means a memory allocation failure for the p2m structure. It can only fail if setting the mfn for a pfn in previously unused address space. It is guaranteed to succeed if you're setting a mapping to INVALID_P2M_ENTRY or updating the mfn for an existing pfn. Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed