From: Jiang Liu Date: Mon, 6 Jan 2014 06:18:14 +0000 (+0800) Subject: iommu/vt-d, trivial: check suitable flag in function detect_intel_iommu() X-Git-Tag: v3.14-rc1~50^2^3~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b977e73a837963ad73d24db4ca7b71040791868c;p=pandora-kernel.git iommu/vt-d, trivial: check suitable flag in function detect_intel_iommu() Flag irq_remapping_enabled is only set by intel_enable_irq_remapping(), which is called after detect_intel_iommu(). So moving pr_info() from detect_intel_iommu() to intel_enable_irq_remapping(), which also slightly simplifies implementation. Reviewed-by: Yijing Wang Signed-off-by: Jiang Liu Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed