tools, slub: Fix off-by-one buffer corruption after readlink() call
[linux-2.6/linux-mips.git] / arch / arm / mach-prima2 / include / mach / memory.h
blob368cd5a0601a8ef7020caac926bd2a06cccc37b3
1 /*
2 * arch/arm/mach-prima2/include/mach/memory.h
4 * Copyright (c) 2010 – 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #ifndef __ASM_ARCH_MEMORY_H
10 #define __ASM_ARCH_MEMORY_H
12 #define PLAT_PHYS_OFFSET UL(0x00000000)
15 * Restrict DMA-able region to workaround silicon limitation.
16 * The limitation restricts buffers available for DMA to SD/MMC
17 * hardware to be below 256MB
19 #define ARM_DMA_ZONE_SIZE (SZ_256M)
21 #endif