diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-06-13 00:52:54 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:30:15 -0400 |
commit | 90ac19a8b21ba2621ddd7beb2dc96152e78270b7 (patch) | |
tree | e1901e1053dc805c022d1bdd651b3f935d31c600 /include/asm-powerpc | |
parent | 4db68bfe71940c0851bc81041ade6dc293fe2b96 (diff) |
[POWERPC] Abolish iopa(), mm_ptov(), io_block_mapping() from arch/powerpc
These old-fashioned IO mapping functions no longer have any callers in
code which remains relevant on arch/powerpc. Therefore, this removes
them from arch/powerpc.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/io.h | 7 | ||||
-rw-r--r-- | include/asm-powerpc/pgtable-ppc32.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h index 17efea5b594c..bb8d965f96c6 100644 --- a/include/asm-powerpc/io.h +++ b/include/asm-powerpc/io.h | |||
@@ -633,13 +633,6 @@ extern void __iomem * __ioremap_at(phys_addr_t pa, void *ea, | |||
633 | unsigned long size, unsigned long flags); | 633 | unsigned long size, unsigned long flags); |
634 | extern void __iounmap_at(void *ea, unsigned long size); | 634 | extern void __iounmap_at(void *ea, unsigned long size); |
635 | 635 | ||
636 | /* Those are more 32 bits only functions */ | ||
637 | extern unsigned long iopa(unsigned long addr); | ||
638 | extern unsigned long mm_ptov(unsigned long addr) __attribute_const__; | ||
639 | extern void io_block_mapping(unsigned long virt, phys_addr_t phys, | ||
640 | unsigned int size, int flags); | ||
641 | |||
642 | |||
643 | /* | 636 | /* |
644 | * When CONFIG_PPC_INDIRECT_IO is set, we use the generic iomap implementation | 637 | * When CONFIG_PPC_INDIRECT_IO is set, we use the generic iomap implementation |
645 | * which needs some additional definitions here. They basically allow PIO | 638 | * which needs some additional definitions here. They basically allow PIO |
diff --git a/include/asm-powerpc/pgtable-ppc32.h b/include/asm-powerpc/pgtable-ppc32.h index c863bdb2889c..c18ac821ce44 100644 --- a/include/asm-powerpc/pgtable-ppc32.h +++ b/include/asm-powerpc/pgtable-ppc32.h | |||
@@ -756,8 +756,6 @@ extern void paging_init(void); | |||
756 | extern void cache_clear(__u32 addr, int length); | 756 | extern void cache_clear(__u32 addr, int length); |
757 | extern void cache_push(__u32 addr, int length); | 757 | extern void cache_push(__u32 addr, int length); |
758 | extern int mm_end_of_chunk (unsigned long addr, int len); | 758 | extern int mm_end_of_chunk (unsigned long addr, int len); |
759 | extern unsigned long iopa(unsigned long addr); | ||
760 | extern unsigned long mm_ptov(unsigned long addr) __attribute_const__; | ||
761 | 759 | ||
762 | /* Values for nocacheflag and cmode */ | 760 | /* Values for nocacheflag and cmode */ |
763 | /* These are not used by the APUS kernel_map, but prevents | 761 | /* These are not used by the APUS kernel_map, but prevents |