x86: fix a benign typo
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Jul 2010 09:43:10 +0000 (10:43 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Jul 2010 09:43:10 +0000 (10:43 +0100)
Just to avoid confusing readers - no functional change.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/msi.c

index 5b8037a6f9cc741d446ab869bb3063b17c072489..f6812b2f52e4548d0a53e1d8552537f675af084d 100644 (file)
@@ -676,7 +676,7 @@ static int __pci_enable_msix(struct msi_info *msi, struct msi_desc **desc)
         return -ENODEV;
 
     pos = pci_find_cap_offset(msi->bus, slot, func, PCI_CAP_ID_MSIX);
-    control = pci_conf_read16(msi->bus, slot, func, msi_control_reg(pos));
+    control = pci_conf_read16(msi->bus, slot, func, msix_control_reg(pos));
     nr_entries = multi_msix_capable(control);
     if (msi->entry_nr >= nr_entries)
         return -EINVAL;