summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-nexuspci/mmu.h
blob: 6e21320d33d03cb0a0d43a1a8c7f15d66cf29aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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