Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87933
b: refs/heads/master
c: 9796835
h: refs/heads/master
i:
  87931: e24dbda
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Mar 30, 2008
1 parent e0e416e commit 77da02f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2ddb9019ea13fb7b62d8e45adcc468376af0de7
refs/heads/master: 97968358ab98c2d5fc5c3071ba70bd6a5faecbb8
6 changes: 3 additions & 3 deletions trunk/drivers/virtio/virtio_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct virtio_pci_device
struct pci_dev *pci_dev;

/* the IO mapping for the PCI config space */
void *ioaddr;
void __iomem *ioaddr;

/* a list of queues so we can dispatch IRQs */
spinlock_t lock;
Expand Down Expand Up @@ -111,7 +111,7 @@ static void vp_get(struct virtio_device *vdev, unsigned offset,
void *buf, unsigned len)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
void *ioaddr = vp_dev->ioaddr + VIRTIO_PCI_CONFIG + offset;
void __iomem *ioaddr = vp_dev->ioaddr + VIRTIO_PCI_CONFIG + offset;
u8 *ptr = buf;
int i;

Expand All @@ -125,7 +125,7 @@ static void vp_set(struct virtio_device *vdev, unsigned offset,
const void *buf, unsigned len)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
void *ioaddr = vp_dev->ioaddr + VIRTIO_PCI_CONFIG + offset;
void __iomem *ioaddr = vp_dev->ioaddr + VIRTIO_PCI_CONFIG + offset;
const u8 *ptr = buf;
int i;

Expand Down

0 comments on commit 77da02f

Please sign in to comment.