perf: Fix perf bug in fork()
[sfrench/cifs-2.6.git] / arch / arm / mach-exynos / include / mach / memory.h
1 /*
2  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
3  *              http://www.samsung.com
4  *
5  * EXYNOS4 - Memory definitions
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 #ifndef __ASM_ARCH_MEMORY_H
13 #define __ASM_ARCH_MEMORY_H __FILE__
14
15 #define PLAT_PHYS_OFFSET                UL(0x40000000)
16
17 #ifndef CONFIG_ARM_LPAE
18 /* Maximum of 256MiB in one bank */
19 #define MAX_PHYSMEM_BITS        32
20 #define SECTION_SIZE_BITS       28
21 #else
22 #define MAX_PHYSMEM_BITS        36
23 #define SECTION_SIZE_BITS       31
24 #endif
25
26 #endif /* __ASM_ARCH_MEMORY_H */