aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-07-15 09:49:00 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-07-15 09:49:00 +0100
commit53638b9235ba267500cae4a7aa3e0153dd67515e (patch)
treec83034d7f40e551e9c2487e99076a745edd76341
parent82b41c263feb827c9284b796736dbbbee6a35e68 (diff)
downloadxen-53638b9235ba267500cae4a7aa3e0153dd67515e.tar.gz
xen-53638b9235ba267500cae4a7aa3e0153dd67515e.tar.bz2
xen-53638b9235ba267500cae4a7aa3e0153dd67515e.zip
x86: fix a benign typo
Just to avoid confusing readers - no functional change. Signed-off-by: Jan Beulich <jbeulich@novell.com> xen-unstable changeset: 21777:a63e4c2d9ae4 xen-unstable date: Mon Jul 12 10:43:10 2010 +0100
-rw-r--r--xen/arch/x86/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c
index 5b8037a6f9..f6812b2f52 100644
--- a/xen/arch/x86/msi.c
+++ b/xen/arch/x86/msi.c
@@ -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;