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 | f21f49ea639ac3f24824177dac1268af75a2d373 (patch) | |
tree | 2750cea49f8ffe275b4cf321a788890e50b2cf75 /include | |
parent | 90ac19a8b21ba2621ddd7beb2dc96152e78270b7 (diff) |
[POWERPC] Remove the dregs of APUS support from arch/powerpc
APUS (the Amiga Power-Up System) is not supported under arch/powerpc
and it's unlikely it ever will be. Therefore, this patch removes the
fragments of APUS support code from arch/powerpc which have been
copied from arch/ppc.
A few APUS references are left in asm-powerpc in .h files which are
still used from arch/ppc.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/pgtable-ppc32.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/asm-powerpc/pgtable-ppc32.h b/include/asm-powerpc/pgtable-ppc32.h index c18ac821ce44..63c535d02535 100644 --- a/include/asm-powerpc/pgtable-ppc32.h +++ b/include/asm-powerpc/pgtable-ppc32.h | |||
@@ -751,32 +751,6 @@ extern void paging_init(void); | |||
751 | #define pte_to_pgoff(pte) (pte_val(pte) >> 3) | 751 | #define pte_to_pgoff(pte) (pte_val(pte) >> 3) |
752 | #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE }) | 752 | #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE }) |
753 | 753 | ||
754 | /* CONFIG_APUS */ | ||
755 | /* For virtual address to physical address conversion */ | ||
756 | extern void cache_clear(__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); | ||
759 | |||
760 | /* Values for nocacheflag and cmode */ | ||
761 | /* These are not used by the APUS kernel_map, but prevents | ||
762 | compilation errors. */ | ||
763 | #define KERNELMAP_FULL_CACHING 0 | ||
764 | #define KERNELMAP_NOCACHE_SER 1 | ||
765 | #define KERNELMAP_NOCACHE_NONSER 2 | ||
766 | #define KERNELMAP_NO_COPYBACK 3 | ||
767 | |||
768 | /* | ||
769 | * Map some physical address range into the kernel address space. | ||
770 | */ | ||
771 | extern unsigned long kernel_map(unsigned long paddr, unsigned long size, | ||
772 | int nocacheflag, unsigned long *memavailp ); | ||
773 | |||
774 | /* | ||
775 | * Set cache mode of (kernel space) address range. | ||
776 | */ | ||
777 | extern void kernel_set_cachemode (unsigned long address, unsigned long size, | ||
778 | unsigned int cmode); | ||
779 | |||
780 | /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ | 754 | /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ |
781 | #define kern_addr_valid(addr) (1) | 755 | #define kern_addr_valid(addr) (1) |
782 | 756 | ||