]> xenbits.xensource.com Git - xen.git/commitdiff
VT-d: replace bogus gprintk()
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:05:33 +0000 (13:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:05:33 +0000 (13:05 +0200)
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 <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.c

index c7bda736efeac04737487c8ea25d1669a2173e98..9053a1fabff44d1b0f76f7a491c54f213c80dd02 100644 (file)
@@ -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),