Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272959
b: refs/heads/master
c: 6190303
h: refs/heads/master
i:
  272957: 4c2e476
  272955: 51b3800
  272951: 52bd578
  272943: 7f2b39c
  272927: bba289f
  272895: 6dc06f5
v: v3
  • Loading branch information
Jamie Iles committed Sep 26, 2011
1 parent 4e54086 commit 60c1198
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 50 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: a14bf143b317f9c0944bc7aedfd85c07b3b04150
refs/heads/master: 6190303b4e55ce11774d036f9b90d204223caa1e
7 changes: 0 additions & 7 deletions trunk/arch/arm/mach-picoxcell/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@
/* No PCI possible on picoxcell. */
#define __mem_pci(a) (a)

#define __arch_ioremap picoxcell_ioremap
#define __arch_iounmap picoxcell_iounmap

extern void __iomem *picoxcell_ioremap(unsigned long phys, size_t size,
unsigned int type);
extern void picoxcell_iounmap(volatile void __iomem *addr);

#endif /* __ASM_ARM_ARCH_IO_H */
18 changes: 0 additions & 18 deletions trunk/arch/arm/mach-picoxcell/include/mach/vmalloc.h

This file was deleted.

24 changes: 0 additions & 24 deletions trunk/arch/arm/mach-picoxcell/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,3 @@ void __init picoxcell_map_io(void)

iotable_init(&io_map, 1);
}

void __iomem *picoxcell_ioremap(unsigned long p, size_t size,
unsigned int type)
{
if (unlikely(size == 0))
return NULL;

if (p >= PICOXCELL_PERIPH_BASE &&
p < PICOXCELL_PERIPH_BASE + PICOXCELL_PERIPH_LENGTH)
return IO_ADDRESS(p);

return __arm_ioremap_caller(p, size, type,
__builtin_return_address(0));
}
EXPORT_SYMBOL_GPL(picoxcell_ioremap);

void picoxcell_iounmap(volatile void __iomem *addr)
{
unsigned long virt = (unsigned long)addr;

if (virt >= VMALLOC_START && virt < VMALLOC_END)
__iounmap(addr);
}
EXPORT_SYMBOL_GPL(picoxcell_iounmap);

0 comments on commit 60c1198

Please sign in to comment.