Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39387
b: refs/heads/master
c: 437111c
h: refs/heads/master
i:
  39385: fd64f58
  39383: af4a53b
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 11, 2006
1 parent 49d73b3 commit 5cb3bac
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 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: 1e5c374d3833f816b4840227c6949f689af0cb44
refs/heads/master: 437111ca381263520d23c877e55e0a83558e79da
8 changes: 4 additions & 4 deletions trunk/arch/m68k/mm/sun3kmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/sun3_82586.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ struct net_device * __init sun3_82586_probe(int unit)
out1:
free_netdev(dev);
out:
iounmap((void *)ioaddr);
iounmap((void __iomem *)ioaddr);
return ERR_PTR(err);
}

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/sun3lance.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ struct net_device * __init sun3lance_probe(int unit)

out1:
#ifdef CONFIG_SUN3
iounmap((void *)dev->base_addr);
iounmap((void __iomem *)dev->base_addr);
#endif
out:
free_netdev(dev);
Expand Down Expand Up @@ -326,7 +326,7 @@ static int __init lance_probe( struct net_device *dev)
ioaddr_probe[1] = tmp2;

#ifdef CONFIG_SUN3
iounmap((void *)ioaddr);
iounmap((void __iomem *)ioaddr);
#endif
return 0;
}
Expand Down Expand Up @@ -956,7 +956,7 @@ void cleanup_module(void)
{
unregister_netdev(sun3lance_dev);
#ifdef CONFIG_SUN3
iounmap((void *)sun3lance_dev->base_addr);
iounmap((void __iomem *)sun3lance_dev->base_addr);
#endif
free_netdev(sun3lance_dev);
}
Expand Down

0 comments on commit 5cb3bac

Please sign in to comment.