diff options
Diffstat (limited to 'include/asm-arm/arch-nexuspci/mmu.h')
-rw-r--r-- | include/asm-arm/arch-nexuspci/mmu.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-arm/arch-nexuspci/mmu.h b/include/asm-arm/arch-nexuspci/mmu.h new file mode 100644 index 000000000..6e21320d3 --- /dev/null +++ b/include/asm-arm/arch-nexuspci/mmu.h @@ -0,0 +1,16 @@ +/* + * linux/include/asm-arm/arch-nexuspci/mmu.h + * + * Copyright (c) 1997 Philip Blundell. + * + */ +#ifndef __ASM_ARCH_MMU_H +#define __ASM_ARCH_MMU_H + +/* + * On NexusPCI, the dram is contiguous + */ +#define __virt_to_phys(vpage) ((vpage) - PAGE_OFFSET + 0x40000000) +#define __phys_to_virt(ppage) ((ppage) + PAGE_OFFSET - 0x40000000) + +#endif |