summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/vmalloc.h
blob: b98bd9e92fd687b48a660a92edb0814cd1123d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * DaVinci vmalloc definitions
 *
 * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
 *
 * 2007 (c) MontaVista Software, Inc. This file is licensed under
 * the terms of the GNU General Public License version 2. This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */
#include <asm/memory.h>
#include <mach/io.h>

/* Allow vmalloc range until the IO virtual range minus a 2M "hole" */
#define VMALLOC_END	  (IO_VIRT - (2<<20))