Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63971
b: refs/heads/master
c: 963c652
h: refs/heads/master
i:
  63969: 8619733
  63967: c0744e4
v: v3
  • Loading branch information
Linus Torvalds committed Aug 12, 2007
1 parent 0f4a01f commit 0418a36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: 4e54e9f4423a86aa21b70cb9d339cb09f275188f
refs/heads/master: 963c6527e0a0e285736ad482b8142d098f9c2288
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
4 changes: 3 additions & 1 deletion trunk/arch/x86_64/lib/memcpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ ENDPROC(__memcpy)
.quad memcpy
.quad 1b
.byte X86_FEATURE_REP_GOOD
.byte .Lfinal - memcpy
/* Replace only beginning, memcpy is used to apply alternatives, so it
* is silly to overwrite itself with nops - reboot is only outcome... */
.byte 2b - 1b
.byte 2b - 1b
.previous

0 comments on commit 0418a36

Please sign in to comment.