Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346353
b: refs/heads/master
c: 41739ee
h: refs/heads/master
i:
  346351: a9fe1f7
v: v3
  • Loading branch information
Will Deacon authored and Linus Torvalds committed Dec 18, 2012
1 parent 014b578 commit 1a9a45c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: da01ee3c8e7954fb7ed0ceb002d482c79f8b2ccd
refs/heads/master: 41739ee355abc39d36bde6feed32ad16c63ceea2
12 changes: 6 additions & 6 deletions trunk/include/asm-generic/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static inline void insb(unsigned long addr, void *buffer, int count)
if (count) {
u8 *buf = buffer;
do {
u8 x = inb(addr);
u8 x = __raw_readb(addr + PCI_IOBASE);
*buf++ = x;
} while (--count);
}
Expand All @@ -167,7 +167,7 @@ static inline void insw(unsigned long addr, void *buffer, int count)
if (count) {
u16 *buf = buffer;
do {
u16 x = inw(addr);
u16 x = __raw_readw(addr + PCI_IOBASE);
*buf++ = x;
} while (--count);
}
Expand All @@ -180,7 +180,7 @@ static inline void insl(unsigned long addr, void *buffer, int count)
if (count) {
u32 *buf = buffer;
do {
u32 x = inl(addr);
u32 x = __raw_readl(addr + PCI_IOBASE);
*buf++ = x;
} while (--count);
}
Expand All @@ -193,7 +193,7 @@ static inline void outsb(unsigned long addr, const void *buffer, int count)
if (count) {
const u8 *buf = buffer;
do {
outb(*buf++, addr);
__raw_writeb(*buf++, addr + PCI_IOBASE);
} while (--count);
}
}
Expand All @@ -205,7 +205,7 @@ static inline void outsw(unsigned long addr, const void *buffer, int count)
if (count) {
const u16 *buf = buffer;
do {
outw(*buf++, addr);
__raw_writew(*buf++, addr + PCI_IOBASE);
} while (--count);
}
}
Expand All @@ -217,7 +217,7 @@ static inline void outsl(unsigned long addr, const void *buffer, int count)
if (count) {
const u32 *buf = buffer;
do {
outl(*buf++, addr);
__raw_writel(*buf++, addr + PCI_IOBASE);
} while (--count);
}
}
Expand Down

0 comments on commit 1a9a45c

Please sign in to comment.