From: Jan Beulich Date: Thu, 23 Apr 2015 11:05:33 +0000 (+0200) Subject: VT-d: replace bogus gprintk() X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3374 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=47b931e763d842a78e9054fe002c7c1e0342b014;p=xen.git VT-d: replace bogus gprintk() Just like the other messages in this function this one should be issued through plain printk() - the current vCPU is irrelevant here. (Noticed while backporting to older trees, which don't have gprintk().) Signed-off-by: Jan Beulich Acked-by: Kevin Tian --- diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index c7bda736ef..9053a1fabf 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -858,8 +858,8 @@ static int iommu_page_fault_do_one(struct iommu *iommu, int type, break; } - gprintk(XENLOG_G_WARNING VTDPREFIX, "%s: reason %02x - %s\n", - kind, fault_reason, reason); + printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s\n", + kind, fault_reason, reason); if ( iommu_verbose && fault_type == DMA_REMAP ) print_vtd_entries(iommu, PCI_BUS(source_id), PCI_DEVFN2(source_id),