Loading...
/* * linux/include/asm-arm/arch-ebsa285/mmu.h * * Copyright (c) 1996,1997,1998 Russell King. * * Changelog: * 20-10-1996 RMK Created * 31-12-1997 RMK Fixed definitions to reduce warnings * 17-05-1998 DAG Added __virt_to_bus and __bus_to_virt functions. */ #ifndef __ASM_ARCH_MMU_H #define __ASM_ARCH_MMU_H /* * On ebsa285, the dram is contiguous */ #define __virt_to_phys__is_a_macro #define __virt_to_phys(vpage) ((vpage) - PAGE_OFFSET) #define __phys_to_virt__is_a_macro #define __phys_to_virt(ppage) ((ppage) + PAGE_OFFSET) extern unsigned long __virt_to_bus(unsigned long); extern unsigned long __bus_to_virt(unsigned long); #endif |