mirror of https://gitee.com/openkylin/linux.git
16 lines
499 B
C
16 lines
499 B
C
|
/*
|
||
|
* 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))
|