Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181149
b: refs/heads/master
c: 8495935
h: refs/heads/master
i:
  181147: 959d369
v: v3
  • Loading branch information
Paul Mundt committed Jan 28, 2010
1 parent 809ba5a commit 31a0de9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 621266bdf4b78fa92f7eabd7688b86f0dbd61d64
refs/heads/master: 849593591ce3b5f9352966c9d410284dc04d03b6
4 changes: 1 addition & 3 deletions trunk/arch/sh/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,8 @@ void pcibios_align_resource(void *data, struct resource *res,
/*
* Put everything into 0x00-0xff region modulo 0x400.
*/
if (start & 0x300) {
if (start & 0x300)
start = (start + 0x3ff) & ~0x3ff;
res->start = start;
}
} else if (res->flags & IORESOURCE_MEM) {
if (start < PCIBIOS_MIN_MEM + chan->mem_resource->start)
start = PCIBIOS_MIN_MEM + chan->mem_resource->start;
Expand Down

0 comments on commit 31a0de9

Please sign in to comment.