From: David Vrabel Date: Tue, 7 Jan 2014 11:36:53 +0000 (+0000) Subject: x86/xen: only warn once if bad MFNs are found during setup X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~54^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dcc9a3de1d7f77bb4dbc108358a75776328e887;p=pandora-kernel.git x86/xen: only warn once if bad MFNs are found during setup In xen_add_extra_mem(), if the WARN() checks for bad MFNs trigger it is likely that they will trigger at lot, spamming the log. Use WARN_ONCE() instead. Signed-off-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Tested-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed