mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] sun3 __iomem annotations
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1e5c374d38
commit
437111ca38
3 changed files with 8 additions and 8 deletions
|
|
@ -59,7 +59,7 @@ static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt,
|
|||
}
|
||||
}
|
||||
|
||||
void *sun3_ioremap(unsigned long phys, unsigned long size,
|
||||
void __iomem *sun3_ioremap(unsigned long phys, unsigned long size,
|
||||
unsigned long type)
|
||||
{
|
||||
struct vm_struct *area;
|
||||
|
|
@ -101,19 +101,19 @@ void *sun3_ioremap(unsigned long phys, unsigned long size,
|
|||
virt += seg_pages * PAGE_SIZE;
|
||||
}
|
||||
|
||||
return (void *)ret;
|
||||
return (void __iomem *)ret;
|
||||
|
||||
}
|
||||
|
||||
|
||||
void *__ioremap(unsigned long phys, unsigned long size, int cache)
|
||||
void __iomem *__ioremap(unsigned long phys, unsigned long size, int cache)
|
||||
{
|
||||
|
||||
return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO);
|
||||
|
||||
}
|
||||
|
||||
void iounmap(void *addr)
|
||||
void iounmap(void __iomem *addr)
|
||||
{
|
||||
vfree((void *)(PAGE_MASK & (unsigned long)addr));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue