Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37608
b: refs/heads/master
c: be5b7a8
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Oct 1, 2006
1 parent fa78717 commit 6da3f22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 45e0b78b0532f92c01e363dd4287617c5be4574f
refs/heads/master: be5b7a8987f23281b146f22b13e2079f448c69c7
5 changes: 4 additions & 1 deletion trunk/arch/i386/pci/mmconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn)
return 0;
}

static inline void pci_exp_set_dev_base(unsigned int base, int bus, int devfn)
/*
* This is always called under pci_config_lock
*/
static void pci_exp_set_dev_base(unsigned int base, int bus, int devfn)
{
u32 dev_base = base | (bus << 20) | (devfn << 12);
if (dev_base != mmcfg_last_accessed_device) {
Expand Down

0 comments on commit 6da3f22

Please sign in to comment.