Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8054
b: refs/heads/master
c: 7663753
h: refs/heads/master
v: v3
  • Loading branch information
Arthur Othieno authored and Paul Mackerras committed Sep 9, 2005
1 parent b87d2d2 commit 4c566de
Show file tree
Hide file tree
Showing 2 changed files with 21 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: 1635317facea3094ddf34082cd86797efb1d9f7e
refs/heads/master: 766375362a1dcac63dc0c0fb61ce4143c8de63d9
20 changes: 20 additions & 0 deletions trunk/arch/ppc64/kernel/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,23 @@ unsigned int fastcall ioread16(void __iomem *addr)
{
return readw(addr);
}
unsigned int fastcall ioread16be(void __iomem *addr)
{
return in_be16(addr);
}
unsigned int fastcall ioread32(void __iomem *addr)
{
return readl(addr);
}
unsigned int fastcall ioread32be(void __iomem *addr)
{
return in_be32(addr);
}
EXPORT_SYMBOL(ioread8);
EXPORT_SYMBOL(ioread16);
EXPORT_SYMBOL(ioread16be);
EXPORT_SYMBOL(ioread32);
EXPORT_SYMBOL(ioread32be);

void fastcall iowrite8(u8 val, void __iomem *addr)
{
Expand All @@ -38,13 +48,23 @@ void fastcall iowrite16(u16 val, void __iomem *addr)
{
writew(val, addr);
}
void fastcall iowrite16be(u16 val, void __iomem *addr)
{
out_be16(addr, val);
}
void fastcall iowrite32(u32 val, void __iomem *addr)
{
writel(val, addr);
}
void fastcall iowrite32be(u32 val, void __iomem *addr)
{
out_be32(addr, val);
}
EXPORT_SYMBOL(iowrite8);
EXPORT_SYMBOL(iowrite16);
EXPORT_SYMBOL(iowrite16be);
EXPORT_SYMBOL(iowrite32);
EXPORT_SYMBOL(iowrite32be);

/*
* These are the "repeat read/write" functions. Note the
Expand Down

0 comments on commit 4c566de

Please sign in to comment.