Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294740
b: refs/heads/master
c: dcce6dc
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas committed Feb 24, 2012
1 parent 20103b9 commit c3da173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47087700ce3ccb2bf69f4dcb6ad7f59764e51308
refs/heads/master: dcce6dc486816d5e1a14e066f611100624421e3a
6 changes: 6 additions & 0 deletions trunk/include/asm-generic/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,19 @@ static inline void pci_add_flags(int flags)
pci_flags |= flags;
}

static inline void pci_clear_flags(int flags)
{
pci_flags &= ~flags;
}

static inline int pci_has_flag(int flag)
{
return pci_flags & flag;
}
#else
static inline void pci_set_flags(int flags) { }
static inline void pci_add_flags(int flags) { }
static inline void pci_clear_flags(int flags) { }
static inline int pci_has_flag(int flag)
{
return 0;
Expand Down

0 comments on commit c3da173

Please sign in to comment.