[ARM] move MAX_DMA_ADDRESS to mach/memory.h
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-ixp4xx / include / mach / memory.h
blob98f5e5e2098001398d45930d2fb5d33b3452f0ea
1 /*
2 * arch/arm/mach-ixp4xx/include/mach/memory.h
4 * Copyright (c) 2001-2004 MontaVista Software, Inc.
5 */
7 #ifndef __ASM_ARCH_MEMORY_H
8 #define __ASM_ARCH_MEMORY_H
10 #include <asm/sizes.h>
13 * Physical DRAM offset.
15 #define PHYS_OFFSET UL(0x00000000)
17 #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
19 void ixp4xx_adjust_zones(int node, unsigned long *size, unsigned long *holes);
21 #define arch_adjust_zones(node, size, holes) \
22 ixp4xx_adjust_zones(node, size, holes)
24 #define ISA_DMA_THRESHOLD (SZ_64M - 1)
25 #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)
27 #endif
29 #endif