Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28752
b: refs/heads/master
c: 0f582bc
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Jun 15, 2006
1 parent 609285a commit 2008614
Show file tree
Hide file tree
Showing 2 changed files with 5 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: bf72aeba2ffef599d1d386425c9e46b82be657cd
refs/heads/master: 0f582bc1f2cccacd613c411fbea55873d17c3429
7 changes: 4 additions & 3 deletions trunk/arch/powerpc/kernel/pci_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,10 @@ check_for_io_childs(struct pci_bus *bus, struct resource* res, int *found_vga)
int i;
int rc = 0;

#define push_end(res, size) do { unsigned long __sz = (size) ; \
res->end = ((res->end + __sz) / (__sz + 1)) * (__sz + 1) + __sz; \
} while (0)
#define push_end(res, mask) do { \
BUG_ON((mask+1) & mask); \
res->end = (res->end + mask) | mask; \
} while (0)

list_for_each_entry(dev, &bus->devices, bus_list) {
u16 class = dev->class >> 8;
Expand Down

0 comments on commit 2008614

Please sign in to comment.