aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/pgtable-ppc32.h26
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 */
756extern void cache_clear(__u32 addr, int length);
757extern void cache_push(__u32 addr, int length);
758extern 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 */
771extern 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 */
777extern 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