Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26163
b: refs/heads/master
c: 1b52d7c
h: refs/heads/master
i:
  26161: 19e068b
  26159: 8c573ec
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Apr 21, 2006
1 parent f61a8db commit 123c5db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 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: 6ca773cf8b9dc19989c9b44635292b1ba80f9112
refs/heads/master: 1b52d7c2210b9a64c5cba6aded478c8217a8853c
17 changes: 5 additions & 12 deletions trunk/include/asm-parisc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,24 +126,17 @@ static inline void gsc_writeq(unsigned long long val, unsigned long addr)

extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);

extern inline void __iomem * ioremap(unsigned long offset, unsigned long size)
{
return __ioremap(offset, size, 0);
}

/*
* This one maps high address device memory and turns off caching for that area.
* it's useful if some control registers are in such an area and write combining
* or read caching is not desirable:
/* Most machines react poorly to I/O-space being cacheable... Instead let's
* define ioremap() in terms of ioremap_nocache().
*/
extern inline void * ioremap_nocache(unsigned long offset, unsigned long size)
extern inline void __iomem * ioremap(unsigned long offset, unsigned long size)
{
return __ioremap(offset, size, _PAGE_NO_CACHE /* _PAGE_PCD */);
return __ioremap(offset, size, _PAGE_NO_CACHE);
}
#define ioremap_nocache(off, sz) ioremap((off), (sz))

extern void iounmap(void __iomem *addr);


static inline unsigned char __raw_readb(const volatile void __iomem *addr)
{
return (*(volatile unsigned char __force *) (addr));
Expand Down

0 comments on commit 123c5db

Please sign in to comment.