28 lines
798 B
C
28 lines
798 B
C
/* arch/arm/mach-msm/include/mach/vmalloc.h
|
|
*
|
|
* Copyright (C) 2007 Google, Inc.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_MSM_VMALLOC_H
|
|
#define __ASM_ARCH_MSM_VMALLOC_H
|
|
|
|
/* IO devices are mapped at 0xF8000000 and above */
|
|
#ifdef CONFIG_VMSPLIT_2G
|
|
#define VMALLOC_END (PAGE_OFFSET + 0x60000000)
|
|
#else
|
|
#define VMALLOC_END (0xF8000000)
|
|
#endif
|
|
|
|
#endif
|
|
|