summaryrefslogtreecommitdiff
path: root/hw/msi.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-26 10:29:36 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-05-06 08:19:25 +0100
commitebabb67a17b58c729e12523cb21b2d6c1d93abc6 (patch)
treefe83ed50cefab24b20f10ccaa523f4e9f22d14db /hw/msi.c
parent3964f535c35c08470ac69bd553282af500bc8bb0 (diff)
downloadqemu-ebabb67a17b58c729e12523cb21b2d6c1d93abc6.tar.gz
qemu-ebabb67a17b58c729e12523cb21b2d6c1d93abc6.tar.bz2
qemu-ebabb67a17b58c729e12523cb21b2d6c1d93abc6.zip
Fix typo in code and comments
Replace writeable -> writable Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/msi.c')
-rw-r--r--hw/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/msi.c b/hw/msi.c
index b0795bd708..b087fe52bb 100644
--- a/hw/msi.c
+++ b/hw/msi.c
@@ -155,7 +155,7 @@ int msi_init(struct PCIDevice *dev, uint8_t offset,
pci_set_word(dev->wmask + msi_data_off(dev, msi64bit), 0xffff);
if (msi_per_vector_mask) {
- /* Make mask bits 0 to nr_vectors - 1 writeable. */
+ /* Make mask bits 0 to nr_vectors - 1 writable. */
pci_set_long(dev->wmask + msi_mask_off(dev, msi64bit),
0xffffffff >> (PCI_MSI_VECTORS_MAX - nr_vectors));
}