Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63933
b: refs/heads/master
c: c1502e2
h: refs/heads/master
i:
  63931: 8b1f838
v: v3
  • Loading branch information
Linus Torvalds committed Aug 12, 2007
1 parent e07dd35 commit 5a40c58
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: b8d3f2448b8f4ba24f301e23585547ba1acc1f04
refs/heads/master: c1502e28346fd3b9955ce654c96212c4748d900d
6 changes: 3 additions & 3 deletions trunk/arch/i386/pci/mmconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ static int pci_mmcfg_write(unsigned int seg, unsigned int bus,

switch (len) {
case 1:
mmio_config_writeb(mmcfg_virt_addr, value);
mmio_config_writeb(mmcfg_virt_addr + reg, value);
break;
case 2:
mmio_config_writew(mmcfg_virt_addr, value);
mmio_config_writew(mmcfg_virt_addr + reg, value);
break;
case 4:
mmio_config_writel(mmcfg_virt_addr, value);
mmio_config_writel(mmcfg_virt_addr + reg, value);
break;
}
spin_unlock_irqrestore(&pci_config_lock, flags);
Expand Down

0 comments on commit 5a40c58

Please sign in to comment.