Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39153
b: refs/heads/master
c: 1622605
h: refs/heads/master
i:
  39151: 9978493
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 9, 2006
1 parent abd2cd8 commit 257defe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 832504933757ba7913bf64cd574326e014215b41
refs/heads/master: 1622605cf6e15bfdc55a3dc78b792018edded435
6 changes: 3 additions & 3 deletions trunk/arch/arm/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,14 @@ __ioremap(unsigned long phys_addr, size_t size, unsigned long flags)
}
EXPORT_SYMBOL(__ioremap);

void __iounmap(void __iomem *addr)
void __iounmap(volatile void __iomem *addr)
{
#ifndef CONFIG_SMP
struct vm_struct **p, *tmp;
#endif
unsigned int section_mapping = 0;

addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr);
addr = (volatile void __iomem *)(PAGE_MASK & (unsigned long)addr);

#ifndef CONFIG_SMP
/*
Expand All @@ -395,6 +395,6 @@ void __iounmap(void __iomem *addr)
#endif

if (!section_mapping)
vunmap(addr);
vunmap((void __force *)addr);
}
EXPORT_SYMBOL(__iounmap);
2 changes: 1 addition & 1 deletion trunk/include/asm-arm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extern void __raw_readsl(const void __iomem *addr, void *data, int longlen);
*/
extern void __iomem * __ioremap_pfn(unsigned long, unsigned long, size_t, unsigned long);
extern void __iomem * __ioremap(unsigned long, size_t, unsigned long);
extern void __iounmap(void __iomem *addr);
extern void __iounmap(volatile void __iomem *addr);

/*
* Bad read/write accesses...
Expand Down

0 comments on commit 257defe

Please sign in to comment.