dect
/
linux-2.6
Archived
13
0
Fork 0

ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END

... since it is going to change.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Barry Song <baohua.song@csr.com>
This commit is contained in:
Nicolas Pitre 2011-09-14 15:14:19 -04:00 committed by Nicolas Pitre
parent 1a4c1c9669
commit 8da54a0b47
1 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,10 @@
#ifndef __MACH_PRIMA2_MAP_H__
#define __MACH_PRIMA2_MAP_H__
#include <mach/vmalloc.h>
#include <linux/const.h>
#define SIRFSOC_VA(x) (VMALLOC_END + ((x) & 0x00FFF000))
#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
#endif