From: Stefano Stabellini Date: Wed, 25 Apr 2012 15:11:38 +0000 (+0100) Subject: xen: use the pirq number to check the pirq_eoi_map X-Git-Tag: v3.4-rc5~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=521394e4e679996955bc351cb6b64639751db2ff;p=pandora-kernel.git xen: use the pirq number to check the pirq_eoi_map In pirq_check_eoi_map use the pirq number rather than the Linux irq number to check whether an eoi is needed in the pirq_eoi_map. The reason is that the irq number is not always identical to the pirq number so if we wrongly use the irq number to check the pirq_eoi_map we are going to check for the wrong pirq to EOI. As a consequence some interrupts might not be EOI'ed by the guest correctly. Signed-off-by: Stefano Stabellini Tested-by: Tobias Geiger [v1: Added some extra wording to git commit] Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed